From: Sebastian Pipping Date: Sat, 12 Mar 2016 16:09:47 +0000 (+0100) Subject: CMakeLists.txt: Move code for upcoming change X-Git-Tag: R_2_2_0~58^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9a92249b14a035ad72a2715de0e2c91b72cacab;p=libexpat CMakeLists.txt: Move code for upcoming change --- diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 353627e2..1b8e4cab 100755 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -50,12 +50,11 @@ set(expat_SRCS lib/xmltok_ns.c ) -if(WIN32 AND BUILD_shared) - set(expat_SRCS ${expat_SRCS} lib/libexpat.def) -endif(WIN32 AND BUILD_shared) - if(BUILD_shared) set(_SHARED SHARED) + if(WIN32) + set(expat_SRCS ${expat_SRCS} lib/libexpat.def) + endif(WIN32) else(BUILD_shared) set(_SHARED STATIC) endif(BUILD_shared)