From 60aea02724cc1fd73c5cce3f981c0b3a2807eb44 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 28 Jan 2018 16:03:40 +0100 Subject: CMake: keep defines in ConfigChecks.cmake --- CMakeScripts/ConfigChecks.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeScripts') 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) -- cgit v1.2.3