diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 1b8e4cab..d053a1e7 100755 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -57,6 +57,9 @@ if(BUILD_shared) endif(WIN32) else(BUILD_shared) set(_SHARED STATIC) + if(WIN32) + add_definitions(-DXML_STATIC) + endif(WIN32) endif(BUILD_shared) add_library(expat ${_SHARED} ${expat_SRCS})