We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b960953 commit f90bc46Copy full SHA for f90bc46
templates/cmake.mpd
@@ -114,7 +114,7 @@ endif()
114
target_link_libraries(${PROJECT_TARGET_<%uc(normalize(project_name))%>} ${TARGET_LINK_LIBRARIES_<%uc(normalize(project_name))%>})
115
<%else%>
116
<%if(staticname)%>
117
-add_library(${PROJECT_TARGET_<%uc(normalize(project_name))%>} ${SOURCE_FILES_<%uc(normalize(project_name))%>})
+add_library(${PROJECT_TARGET_<%uc(normalize(project_name))%>} STATIC ${SOURCE_FILES_<%uc(normalize(project_name))%>})
118
<%if(staticflags)%>
119
target_compile_definitions(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PRIVATE <%staticflags%>)
120
<%endif%>
0 commit comments