mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
travis has an old version of cmake?
This commit is contained in:
parent
308e42c0a3
commit
3665334df9
|
@ -68,9 +68,9 @@ SET(PUGIXML ../third-party/pugixml/src/pugixml.hpp ../third-party/pugixml/src/pu
|
|||
|
||||
if(SHARED)
|
||||
add_library(xlnt SHARED ${HEADERS} ${SOURCES} ${MINIZ} ${PUGIXML})
|
||||
target_compile_definitions(xlnt PRIVATE XLNT_EXPORT=1)
|
||||
add_definitions(-DXLNT_SHARED)
|
||||
if(MSVC)
|
||||
target_compile_definitions(xlnt PRIVATE XLNT_EXPORT=1)
|
||||
set_target_properties(xlnt PROPERTIES COMPILE_FLAGS "/wd\"4251\" /wd\"4275\"")
|
||||
endif()
|
||||
else()
|
||||
|
|
Loading…
Reference in New Issue
Block a user