diff options
author | Chad Elliott <elliottc@objectcomputing.com> | 2022-10-12 06:21:58 -0500 |
---|---|---|
committer | Chad Elliott <elliottc@objectcomputing.com> | 2022-10-12 06:21:58 -0500 |
commit | 56c19e2f626ecaee103d146b32f5ab4ad6d1086a (patch) | |
tree | 25de2779772783e3d4621301b72c1008858dcaf8 /templates | |
parent | 5099bdb4327d16bf0946a78c5c332e46c8a48677 (diff) | |
download | MPC-56c19e2f626ecaee103d146b32f5ab4ad6d1086a.tar.gz |
Turn off automatic output for all custom commands. That must be handled by CMake modules.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/cmake.mpd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/cmake.mpd b/templates/cmake.mpd index baf41f7a..6785b199 100644 --- a/templates/cmake.mpd +++ b/templates/cmake.mpd @@ -18,7 +18,7 @@ find_package(ACE REQUIRED) <%endif%> <%endif%> <%endif%> -set(SOURCE_FILES <%non_generated_sources%>) +set(SOURCE_FILES <%source_files%>) <%if(libs || lit_libs || pure_libs)%> set(TARGET_LINK_LIBRARIES<%if(libs)%> $<$<CONFIG:Release>:<%libs%>> $<$<CONFIG:Debug>:<%foreach(libs)%><%fornotfirst(" ")%><%lib%>d<%endfor%>><%endif%><%if(lit_libs)%> <%lit_libs%><%endif%><%if(pure_libs)%> <%pure_libs%><%endif%>) @@ -31,6 +31,8 @@ set(PROJECT_TARGET <%sharedname%>) <%else%> <%if(staticname)%> set(PROJECT_TARGET <%staticname%>) +<%else%> +set(PROJECT_TARGET <%project_name%>) <%endif%> <%endif%> <%endif%> |