CMakeLists.txt: Move code for upcoming change

This commit is contained in:
Sebastian Pipping 2016-03-12 17:09:47 +01:00
parent fe432127ab
commit d9a92249b1

View File

@ -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)