Skip to content

Commit c71cdea

Browse files
cmake: allow sourcepp libraries to be built as dlls
1 parent 70172ff commit c71cdea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/AddPrettyParser.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function(add_pretty_parser TARGET)
1313
string(TOUPPER ${TARGET} TARGET_UPPER)
1414
set(TARGET "sourcepp_${TARGET}c")
1515
else()
16-
add_library(sourcepp_${TARGET} STATIC ${OPTIONS_PRECOMPILED_HEADERS} ${OPTIONS_SOURCES})
16+
add_library(sourcepp_${TARGET} ${OPTIONS_PRECOMPILED_HEADERS} ${OPTIONS_SOURCES})
1717
add_library(sourcepp::${TARGET} ALIAS sourcepp_${TARGET})
1818
set(TARGET "sourcepp_${TARGET}")
1919
endif()

0 commit comments

Comments
 (0)