diff options
author | Brad King <brad.king@kitware.com> | 2017-08-07 14:16:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-07 14:22:13 (GMT) |
commit | e4ea628b42bcef9dafbc504a62d2b9c8cfc8521c (patch) | |
tree | 9bfac031d5c85ca7369a04f03266c263f3d49d2f /Utilities/cmexpat | |
parent | 44e5fb9c7ea3e3b0288cc24ec85554112e966d73 (diff) | |
download | CMake-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.txt | 7 |
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 |