Author: rleigh
Date: Thu Jun 22 13:31:21 2017
New Revision: 1799583
URL: http://svn.apache.org/viewvc?rev=1799583&view=rev
Log:
cmake: Set values for definitions
Borland C++ doesn't like HAVE_CONFIG_H setting without a value.
Modified:
xerces/c/trunk/cmake/XercesMutexMgrSelection.cmake
xerces/c/trunk/samples/CMakeLists.txt
xerces/c/trunk/src/CMakeLists.txt
xerces/c/trunk/tests/CMakeLists.txt
Modified: xerces/c/trunk/cmake/XercesMutexMgrSelection.cmake
URL:
http://svn.apache.org/viewvc/xerces/c/trunk/cmake/XercesMutexMgrSelection.cmake?rev=1799583&r1=1799582&r2=1799583&view=diff
==============================================================================
--- xerces/c/trunk/cmake/XercesMutexMgrSelection.cmake (original)
+++ xerces/c/trunk/cmake/XercesMutexMgrSelection.cmake Thu Jun 22 13:31:21 2017
@@ -23,7 +23,7 @@ option(threads "Threading support" ON)
if(threads)
set(THREADS_PREFER_PTHREAD_FLAG ON)
- add_definitions(-D_THREAD_SAFE)
+ add_definitions(-D_THREAD_SAFE=1)
find_package(Threads)
if(TARGET Threads::Threads)
Modified: xerces/c/trunk/samples/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/xerces/c/trunk/samples/CMakeLists.txt?rev=1799583&r1=1799582&r2=1799583&view=diff
==============================================================================
--- xerces/c/trunk/samples/CMakeLists.txt (original)
+++ xerces/c/trunk/samples/CMakeLists.txt Thu Jun 22 13:31:21 2017
@@ -19,7 +19,7 @@
# Definitions required for building
add_definitions(
- -DHAVE_CONFIG_H
+ -DHAVE_CONFIG_H=1
)
# Search the project binary dir for config.h
Modified: xerces/c/trunk/src/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/xerces/c/trunk/src/CMakeLists.txt?rev=1799583&r1=1799582&r2=1799583&view=diff
==============================================================================
--- xerces/c/trunk/src/CMakeLists.txt (original)
+++ xerces/c/trunk/src/CMakeLists.txt Thu Jun 22 13:31:21 2017
@@ -1238,8 +1238,8 @@ endif()
# Definitions required for building
add_definitions(
- -DHAVE_CONFIG_H
- -DXERCES_BUILDING_LIBRARY
+ -DHAVE_CONFIG_H=1
+ -DXERCES_BUILDING_LIBRARY=1
)
# Search the project binary dir for config.h
Modified: xerces/c/trunk/tests/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/xerces/c/trunk/tests/CMakeLists.txt?rev=1799583&r1=1799582&r2=1799583&view=diff
==============================================================================
--- xerces/c/trunk/tests/CMakeLists.txt (original)
+++ xerces/c/trunk/tests/CMakeLists.txt Thu Jun 22 13:31:21 2017
@@ -19,7 +19,7 @@
# Definitions required for building
add_definitions(
- -DHAVE_CONFIG_H
+ -DHAVE_CONFIG_H=1
)
# Search the project binary dir for config.h
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]