Skip to content

Commit 6231e35

Browse files
committed
Move languagestandard down in the file
* templates/cmake.mpd:
1 parent 9275787 commit 6231e35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/cmake.mpd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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)%>
8783
target_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

136136
if(CMAKE_CONFIGURATION_TYPES)

0 commit comments

Comments
 (0)