summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/ConfigChecks.cmake5
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake6
2 files changed, 2 insertions, 9 deletions
diff --git a/CMakeScripts/ConfigChecks.cmake b/CMakeScripts/ConfigChecks.cmake
index 123263ff4..c475970c9 100644
--- a/CMakeScripts/ConfigChecks.cmake
+++ b/CMakeScripts/ConfigChecks.cmake
@@ -31,11 +31,6 @@ if(HAVE_CAIRO_PDF)
set(PANGO_ENABLE_ENGINE 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)
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index a6b59e26a..aa637ead1 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -218,9 +218,9 @@ else()
endif()
if(WITH_LPETOOL)
- add_definitions(-DWITH_LPETOOL -DLPE_ENABLE_TEST_EFFECTS)
+ set(LPE_ENABLE_TEST_EFFECTS ON)
else()
- add_definitions(-UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS)
+ set(LPE_ENABLE_TEST_EFFECTS OFF)
endif()
# ----------------------------------------------------------------------------
@@ -245,7 +245,6 @@ list(APPEND INKSCAPE_LIBS ${GTK3_LIBRARIES})
pkg_check_modules(GDL_3_6 gdl-3.0>=3.6)
if("${GDL_3_6_FOUND}")
message(STATUS "Using GDL 3.6 or higher")
- add_definitions(-DWITH_GDL_3_6)
set (WITH_GDL_3_6 ON)
endif()
@@ -351,7 +350,6 @@ if(WITH_YAML)
set (WITH_YAML ON)
list(APPEND INKSCAPE_INCS_SYS ${YAML_INCLUDE_DIRS})
list(APPEND INKSCAPE_LIBS ${YAML_LIBRARIES})
- add_definitions(-DWITH_YAML)
else(YAML_FOUND)
set(WITH_YAML OFF)
message(STATUS "Could not locate the yaml library headers: xverb feature will be disabled")