summaryrefslogtreecommitdiffstats
path: root/Utilities/cmexpat
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-07 14:16:53 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-07 14:22:13 (GMT)
commite4ea628b42bcef9dafbc504a62d2b9c8cfc8521c (patch)
tree9bfac031d5c85ca7369a04f03266c263f3d49d2f /Utilities/cmexpat
parent44e5fb9c7ea3e3b0288cc24ec85554112e966d73 (diff)
downloadCMake-e4ea628b42bcef9dafbc504a62d2b9c8cfc8521c.zip
CMake-e4ea628b42bcef9dafbc504a62d2b9c8cfc8521c.tar.gz
CMake-e4ea628b42bcef9dafbc504a62d2b9c8cfc8521c.tar.bz2
expat: Update CMake build for 2.2.3
Diffstat (limited to 'Utilities/cmexpat')
-rw-r--r--Utilities/cmexpat/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Utilities/cmexpat/CMakeLists.txt b/Utilities/cmexpat/CMakeLists.txt
index d294165..470fcba 100644
--- a/Utilities/cmexpat/CMakeLists.txt
+++ b/Utilities/cmexpat/CMakeLists.txt
@@ -7,9 +7,9 @@ ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
ENDIF()
include(ConfigureChecks.cmake)
-if(WIN32)
- add_definitions(-DCOMPILING_FOR_WINDOWS)
-endif(WIN32)
+if(NOT WIN32)
+ add_definitions(-DXML_DEV_URANDOM)
+endif()
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
@@ -17,6 +17,7 @@ include_directories(
)
add_library(cmexpat STATIC
+ lib/loadlibrary.c
lib/xmlparse.c
lib/xmlrole.c
lib/xmltok.c