diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2015-03-12 09:47:27 +0100 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2015-03-12 14:34:46 +0100 |
commit | e0d403808a68c1c0309824c0df3b353a8aad7d16 (patch) | |
tree | 9eff98f85a010fc2c26490cabcdf4dd15fee28f2 /src/system | |
parent | e27c6381ad45260e7ced70d9b39a8862521e84e4 (diff) | |
download | DLT-daemon-e0d403808a68c1c0309824c0df3b353a8aad7d16.tar.gz |
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 <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/system')
-rw-r--r-- | src/system/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
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) |