From d9a92249b14a035ad72a2715de0e2c91b72cacab Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 12 Mar 2016 17:09:47 +0100 Subject: [PATCH] CMakeLists.txt: Move code for upcoming change --- expat/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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)