Skip to content

Commit b960953

Browse files
committed
bugfix for shared library
1 parent 16e9c3d commit b960953

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
@@ -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)%>
100100
if(BUILD_SHARED_LIBS)
101101
target_compile_definitions(${PROJECT_TARGET_<%uc(normalize(project_name))%>} PRIVATE <%dynamicflags%>)

0 commit comments

Comments
 (0)