From c487cf71a5cb5617053868a3db1f4a473ff99921 Mon Sep 17 00:00:00 2001 From: Yacine Hmito Date: Thu, 21 Jan 2016 21:04:52 +0100 Subject: Fix issue #455 CMAKE_INSTALL_FULL_SYSCONFIG is not actually passed to the C preprocessor. I remember it working, so I must have messed up somewhere last time I touched this. This is fixed by manually passing its value to the C preprocessor through the SYSCONFDIR definition --- sway/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sway/CMakeLists.txt') diff --git a/sway/CMakeLists.txt b/sway/CMakeLists.txt index f7cc88ab..d23c80b0 100644 --- a/sway/CMakeLists.txt +++ b/sway/CMakeLists.txt @@ -26,6 +26,10 @@ add_executable(sway workspace.c ) +add_definitions( + -DSYSCONFDIR="${CMAKE_INSTALL_FULL_SYSCONFDIR}" +) + target_link_libraries(sway sway-common sway-protocols -- cgit v1.2.3