File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_<%uc(configuration)%> <%env_libout%>)
79
79
<%endif%>
80
80
<%endif%>
81
81
82
- <%if(languagestandard)%>
83
- target_compile_features(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PRIVATE "cxx_std_<%languagestandard%>")
84
-
85
- <%endif%>
86
82
<%if(compile_flags)%>
87
83
target_compile_options(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PUBLIC <%compile_flags%>)
88
84
@@ -131,6 +127,10 @@ set_target_properties(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PROPERTI
131
127
<%endif%>
132
128
<%endfor%>
133
129
<%endif%>
130
+ <%endif%>
131
+ <%if(languagestandard)%>
132
+ target_compile_features(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PUBLIC "cxx_std_<%languagestandard%>")
133
+
134
134
<%endif%>
135
135
136
136
if(CMAKE_CONFIGURATION_TYPES)
You can’t perform that action at this time.
0 commit comments