From 41816f36a3c00cb0a552d8932be0b39a21fad31d Mon Sep 17 00:00:00 2001 From: Micke Prag Date: Wed, 20 Jun 2012 12:22:03 +0200 Subject: [PATCH] Configure SettingsConfusePaths.h in the correct section in CMakeLists.txt --- telldus-core/service/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/telldus-core/service/CMakeLists.txt b/telldus-core/service/CMakeLists.txt index 0479af52..70b1cfb1 100644 --- a/telldus-core/service/CMakeLists.txt +++ b/telldus-core/service/CMakeLists.txt @@ -158,6 +158,10 @@ ELSE (APPLE) #### Linux #### main_unix.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 ${CONFUSE_LIBRARY} TelldusCommon @@ -247,10 +251,6 @@ IF (UNIX AND NOT APPLE) ENDIF () 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 DESTINATION ${SYSCONF_INSTALL_DIR} )