Skip to content

Commit 6e998a0

Browse files
committed
Fix compile features
* templates/cmake.mpd:
1 parent e1b272c commit 6e998a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cmake.mpd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_<%uc(configuration)%> <%env_libout%>)
8080
<%endif%>
8181

8282
<%if(languagestandard)%>
83-
target_compile_features(${target} PUBLIC "cxx_std_<%languagestandard%>")
83+
target_compile_features(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PUBLIC "cxx_std_<%languagestandard%>")
8484

8585
<%endif%>
8686
<%if(compile_flags)%>

0 commit comments

Comments
 (0)