pugi: enable static linkage explicitely.
parent
adcf84c41f
commit
484d305987
|
@ -35,12 +35,12 @@ if(DEFINED BUILD_DEFINES)
|
||||||
add_definitions("-D" ${DEFINE})
|
add_definitions("-D" ${DEFINE})
|
||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
|
#message(pugixml" "${BUILD_SHARED_LIBS})
|
||||||
if(BUILD_SHARED_LIBS)
|
#if(BUILD_SHARED_LIBS)
|
||||||
add_library(pugixml SHARED ${HEADERS} ${SOURCES})
|
# add_library(pugixml SHARED ${HEADERS} ${SOURCES})
|
||||||
else()
|
#else()
|
||||||
add_library(pugixml STATIC ${HEADERS} ${SOURCES})
|
add_library(pugixml STATIC ${HEADERS} ${SOURCES})
|
||||||
endif()
|
#endif()
|
||||||
|
|
||||||
# Export symbols for shared library builds
|
# Export symbols for shared library builds
|
||||||
if(BUILD_SHARED_LIBS AND MSVC)
|
if(BUILD_SHARED_LIBS AND MSVC)
|
||||||
|
|
Loading…
Reference in New Issue