File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ endif()
9595<%endif%>
9696<%else%>
9797<%if(sharedname)%>
98- add_library(${PROJECT_TARGET_<%uc(normalize(project_name))%>} ${SOURCE_FILES_<%uc(normalize(project_name))%>})
98+ add_library(${PROJECT_TARGET_<%uc(normalize(project_name))%>} SHARED ${SOURCE_FILES_<%uc(normalize(project_name))%>})
9999<%if(dynamicflags)%>
100100if(BUILD_SHARED_LIBS)
101101 target_compile_definitions(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PRIVATE <%dynamicflags%>)
@@ -114,7 +114,7 @@ endif()
114114target_link_libraries(${PROJECT_TARGET_<%uc(normalize(project_name))%>} ${TARGET_LINK_LIBRARIES_<%uc(normalize(project_name))%>})
115115<%else%>
116116<%if(staticname)%>
117- add_library(${PROJECT_TARGET_<%uc(normalize(project_name))%>} ${SOURCE_FILES_<%uc(normalize(project_name))%>})
117+ add_library(${PROJECT_TARGET_<%uc(normalize(project_name))%>} STATIC ${SOURCE_FILES_<%uc(normalize(project_name))%>})
118118<%if(staticflags)%>
119119target_compile_definitions(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PRIVATE <%staticflags%>)
120120<%endif%>
You can’t perform that action at this time.
0 commit comments