Browse Source

pugi: enable static linkage explicitely.

Kim Kulling 5 years ago
parent
commit
484d305987
1 changed files with 5 additions and 5 deletions
  1. 5 5
      contrib/pugixml-1.9/CMakeLists.txt

+ 5 - 5
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)