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%>)
7979<%endif%>
8080<%endif%>
8181
82- <%if(languagestandard)%>
83- target_compile_features(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PRIVATE "cxx_std_<%languagestandard%>")
84-
85- <%endif%>
8682<%if(compile_flags)%>
8783target_compile_options(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PUBLIC <%compile_flags%>)
8884
@@ -131,6 +127,10 @@ set_target_properties(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PROPERTI
131127<%endif%>
132128<%endfor%>
133129<%endif%>
130+ <%endif%>
131+ <%if(languagestandard)%>
132+ target_compile_features(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PUBLIC "cxx_std_<%languagestandard%>")
133+
134134<%endif%>
135135
136136if(CMAKE_CONFIGURATION_TYPES)
You can’t perform that action at this time.
0 commit comments