mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 13:45:00 +00:00
Fix for BUILD_shared=OFF case on MSVC
This commit is contained in:
parent
d9a92249b1
commit
5c96e9ce60
1 changed files with 3 additions and 0 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Reference in a new issue