mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 13:45:00 +00:00
CMakeLists.txt: Move code for upcoming change
This commit is contained in:
parent
fe432127ab
commit
d9a92249b1
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue