pugi: enable static linkage explicitely.

pull/2966/head
Kim Kulling 2020-09-29 20:33:39 +02:00
parent adcf84c41f
commit 484d305987
1 changed files with 5 additions and 5 deletions

View File

@ -35,12 +35,12 @@ if(DEFINED BUILD_DEFINES)
add_definitions("-D" ${DEFINE})
endforeach()
endif()
if(BUILD_SHARED_LIBS)
add_library(pugixml SHARED ${HEADERS} ${SOURCES})
else()
#message(pugixml" "${BUILD_SHARED_LIBS})
#if(BUILD_SHARED_LIBS)
# add_library(pugixml SHARED ${HEADERS} ${SOURCES})
#else()
add_library(pugixml STATIC ${HEADERS} ${SOURCES})
endif()
#endif()
# Export symbols for shared library builds
if(BUILD_SHARED_LIBS AND MSVC)