minor: Fix cross-compile SYSCONFDIR install partially
This commit is contained in:
parent
5786c01c8c
commit
c7e2aee002
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,9 @@ file(GLOB RTL433_CONF_FILES "*.conf")
|
||||||
# Note that apparently bare `etc` or relative CMAKE_INSTALL_SYSCONFDIR
|
# Note that apparently bare `etc` or relative CMAKE_INSTALL_SYSCONFDIR
|
||||||
# always gets CMAKE_INSTALL_PREFIX prepended.
|
# always gets CMAKE_INSTALL_PREFIX prepended.
|
||||||
# Use absolute CMAKE_INSTALL_FULL_SYSCONFDIR to get /etc for /usr prefix.
|
# Use absolute CMAKE_INSTALL_FULL_SYSCONFDIR to get /etc for /usr prefix.
|
||||||
|
# Note that CMAKE_STAGING_PREFIX should contain CMAKE_INSTALL_PREFIX but
|
||||||
|
# that component is not stripped here. Breaks cross-compile SYSCONFDIR.
|
||||||
install(FILES
|
install(FILES
|
||||||
${RTL433_CONF_FILES}
|
${RTL433_CONF_FILES}
|
||||||
DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/rtl_433
|
DESTINATION ${CMAKE_STAGING_PREFIX}${CMAKE_INSTALL_FULL_SYSCONFDIR}/rtl_433
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue