Configure SettingsConfusePaths.h in the correct section in CMakeLists.txt
This commit is contained in:
parent
264b92889a
commit
41816f36a3
1 changed files with 4 additions and 4 deletions
|
@ -158,6 +158,10 @@ ELSE (APPLE) #### Linux ####
|
||||||
main_unix.cpp
|
main_unix.cpp
|
||||||
SettingsConfuse.cpp
|
SettingsConfuse.cpp
|
||||||
)
|
)
|
||||||
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SettingsConfusePaths.h.in
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/service/SettingsConfusePaths.h)
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
LIST(APPEND telldus-service_LIBRARIES
|
LIST(APPEND telldus-service_LIBRARIES
|
||||||
${CONFUSE_LIBRARY}
|
${CONFUSE_LIBRARY}
|
||||||
TelldusCommon
|
TelldusCommon
|
||||||
|
@ -247,10 +251,6 @@ IF (UNIX AND NOT APPLE)
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
SET(STATE_INSTALL_DIR "${DEFAULT_STATE_INSTALL_DIR}" CACHE PATH "The directory to store state information of the devices")
|
SET(STATE_INSTALL_DIR "${DEFAULT_STATE_INSTALL_DIR}" CACHE PATH "The directory to store state information of the devices")
|
||||||
|
|
||||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SettingsConfusePaths.h.in
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/service/SettingsConfusePaths.h)
|
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
|
||||||
|
|
||||||
INSTALL(FILES tellstick.conf
|
INSTALL(FILES tellstick.conf
|
||||||
DESTINATION ${SYSCONF_INSTALL_DIR}
|
DESTINATION ${SYSCONF_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue