From e0d403808a68c1c0309824c0df3b353a8aad7d16 Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Thu, 12 Mar 2015 09:47:27 +0100 Subject: Fix PREFIX. Works now with the default PREFIX (/usr/local/) and with the user PREFIX (e.g. /temp/test_with_pref). PREFIX Fix for filetransfer directory (PREFIX/share/). Signed-off-by: Alexander Wenzel --- src/system/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/system') diff --git a/src/system/CMakeLists.txt b/src/system/CMakeLists.txt index 5b14508..7768b5a 100644 --- a/src/system/CMakeLists.txt +++ b/src/system/CMakeLists.txt @@ -35,8 +35,4 @@ install(TARGETS dlt-system RUNTIME DESTINATION bin COMPONENT base) -if(NOT CMAKE_INSTALL_PREFIX) - INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dlt-system.conf DESTINATION /etc COMPONENT base) -else(CMAKE_INSTALL_PREFIX) - INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dlt-system.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/etc COMPONENT base) -endif(NOT CMAKE_INSTALL_PREFIX) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dlt-system.conf DESTINATION /etc COMPONENT base) -- cgit v1.2.1