mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
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
This commit is contained in:
parent
d969a1dec0
commit
c487cf71a5
2 changed files with 6 additions and 2 deletions
|
|
@ -26,6 +26,10 @@ add_executable(sway
|
|||
workspace.c
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-DSYSCONFDIR="${CMAKE_INSTALL_FULL_SYSCONFDIR}"
|
||||
)
|
||||
|
||||
target_link_libraries(sway
|
||||
sway-common
|
||||
sway-protocols
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue