From 484d305987a0f1610553af708bba427dd34443bd Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 29 Sep 2020 20:33:39 +0200 Subject: [PATCH] pugi: enable static linkage explicitely. --- contrib/pugixml-1.9/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/pugixml-1.9/CMakeLists.txt b/contrib/pugixml-1.9/CMakeLists.txt index 90fa67937..94541f6da 100644 --- a/contrib/pugixml-1.9/CMakeLists.txt +++ b/contrib/pugixml-1.9/CMakeLists.txt @@ -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)