summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/ConfigChecks.cmake
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2018-01-28 15:03:40 +0000
committerEduard Braun <eduard.braun2@gmx.de>2018-01-28 15:03:40 +0000
commit60aea02724cc1fd73c5cce3f981c0b3a2807eb44 (patch)
tree190066990753364a7462cddf40a83eee41f85450 /CMakeScripts/ConfigChecks.cmake
parentCMake: some shuffling - cleanup structure of CMakeLists.txt (diff)
downloadinkscape-60aea02724cc1fd73c5cce3f981c0b3a2807eb44.tar.gz
inkscape-60aea02724cc1fd73c5cce3f981c0b3a2807eb44.zip
CMake: keep defines in ConfigChecks.cmake
Diffstat (limited to 'CMakeScripts/ConfigChecks.cmake')
-rw-r--r--CMakeScripts/ConfigChecks.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeScripts/ConfigChecks.cmake b/CMakeScripts/ConfigChecks.cmake
index 04c077026..ef11542b0 100644
--- a/CMakeScripts/ConfigChecks.cmake
+++ b/CMakeScripts/ConfigChecks.cmake
@@ -50,6 +50,11 @@ if(HAVE_CAIRO_PDF)
set(RENDER_WITH_PANGO_CAIRO TRUE)
endif()
+# Relocatable Binary
+if (ENABLE_BINRELOC)
+ add_definitions(-DENABLE_BINRELOC)
+endif()
+
# Create the configuration files config.h in the binary root dir
configure_file(${CMAKE_SOURCE_DIR}/config.h.cmake ${CMAKE_BINARY_DIR}/include/config.h)
add_definitions(-DHAVE_CONFIG_H)