From 3665334df96cb90c5bf9c1f18bc8b703bcd0bff8 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Tue, 10 Nov 2015 21:01:39 -0500 Subject: [PATCH] travis has an old version of cmake? --- cmake/xlnt.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/xlnt.cmake b/cmake/xlnt.cmake index a9b15dfe..7405536e 100644 --- a/cmake/xlnt.cmake +++ b/cmake/xlnt.cmake @@ -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()