diff options
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%> |