diff options
author | 2016-12-17 14:56:51 -0500 | |
---|---|---|
committer | 2016-12-17 14:56:51 -0500 | |
commit | 14d9200e4e51c7c4597df65cbf0fb5347ef80caa (patch) | |
tree | 4dac5642f1a62276b17811f4fe0708c8bf236c58 /sway/CMakeLists.txt | |
parent | Add libcap dependency to readme (diff) | |
parent | Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIR (diff) | |
download | sway-14d9200e4e51c7c4597df65cbf0fb5347ef80caa.tar.gz sway-14d9200e4e51c7c4597df65cbf0fb5347ef80caa.tar.zst sway-14d9200e4e51c7c4597df65cbf0fb5347ef80caa.zip |
Merge pull request #996 from woutershep/datadir
Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIR
Diffstat (limited to 'sway/CMakeLists.txt')
-rw-r--r-- | sway/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/CMakeLists.txt b/sway/CMakeLists.txt index 4532a6c3..448335cc 100644 --- a/sway/CMakeLists.txt +++ b/sway/CMakeLists.txt | |||
@@ -74,7 +74,7 @@ function(add_config name source destination) | |||
74 | add_custom_command( | 74 | add_custom_command( |
75 | OUTPUT ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name} | 75 | OUTPUT ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name} |
76 | COMMAND sed -r | 76 | COMMAND sed -r |
77 | 's?__PREFIX__?${CMAKE_INSTALL_PREFIX}?g\; s?__SYSCONFDIR__?${CMAKE_INSTALL_FULL_SYSCONFDIR}?g' | 77 | 's?__PREFIX__?${CMAKE_INSTALL_PREFIX}?g\; s?__SYSCONFDIR__?${CMAKE_INSTALL_FULL_SYSCONFDIR}?g\; s?__DATADIR__?${CMAKE_INSTALL_FULL_DATADIR}?g' |
78 | ${PROJECT_SOURCE_DIR}/${source}.in > ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name} | 78 | ${PROJECT_SOURCE_DIR}/${source}.in > ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name} |
79 | DEPENDS ${PROJECT_SOURCE_DIR}/${source}.in | 79 | DEPENDS ${PROJECT_SOURCE_DIR}/${source}.in |
80 | COMMENT "Generating config file ${source}" | 80 | COMMENT "Generating config file ${source}" |