diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2018-01-28 15:03:40 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2018-01-28 15:03:40 +0000 |
| commit | 60aea02724cc1fd73c5cce3f981c0b3a2807eb44 (patch) | |
| tree | 190066990753364a7462cddf40a83eee41f85450 | |
| parent | CMake: some shuffling - cleanup structure of CMakeLists.txt (diff) | |
| download | inkscape-60aea02724cc1fd73c5cce3f981c0b3a2807eb44.tar.gz inkscape-60aea02724cc1fd73c5cce3f981c0b3a2807eb44.zip | |
CMake: keep defines in ConfigChecks.cmake
| -rw-r--r-- | CMakeLists.txt | 7 | ||||
| -rw-r--r-- | CMakeScripts/ConfigChecks.cmake | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b25b8a39d..e175b374e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,13 +134,6 @@ endif() # ----------------------------------------------------------------------------- -# ----------------------------------------------------------------------------- -# Relocatable Binary -# ----------------------------------------------------------------------------- - -if (ENABLE_BINRELOC) - add_definitions(-DENABLE_BINRELOC) -endif() # ----------------------------------------------------------------------------- # Subdirectories 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) |
