Comment Comment by eslaught Wouldn't it be preferable to set the C++ standard with: set_property(TARGET tgt PROPERTY CXX_STANDARD 11) That way if you have multiple targets you're not setting it everywhere? parent eslaught 8 years ago