aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-09-30 08:30:43 -0400
committerDrew DeVault <sir@cmpwn.com>2015-09-30 08:30:43 -0400
commit3ca1fa78447ef88f2c438b7f0edbca2e2dde3557 (patch)
treebc3f7f2aa1a0b3350d37397d17444564fb8ca5b0
parentc963aa7ceda5f5a5ea5d648ec291d62b74e84ac9 (diff)
parentc57499d29c06b0e8c1e682ad77f13bd421245808 (diff)
Merge pull request #185 from sleep-walker/master
Use location of XKBcommon headers, don't expect build in source direc…
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 09f37d6d..d8e4ebca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,7 @@ include_directories(
${WLC_INCLUDE_DIRS}
${PCRE_INCLUDE_DIRS}
${JSONC_INCLUDE_DIRS}
+ ${XKBCOMMON_INCLUDE_DIRS}
include/
)
@@ -88,12 +89,12 @@ ADD_CUSTOM_TARGET(man ALL
DEPENDS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5)
INSTALL(
- FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.1
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.1
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1
)
INSTALL(
- FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man5
)