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/tests/CMakeLists.txt | |
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/tests/CMakeLists.txt')
-rw-r--r-- | src/tests/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index d6366a4..b36454d 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -57,8 +57,4 @@ install(TARGETS dlt-test-multi-process dlt-test-multi-process-client dlt-test-us RUNTIME DESTINATION bin COMPONENT base) -if(NOT CMAKE_INSTALL_PREFIX) - INSTALL(FILES dlt-test-filetransfer-file dlt-test-filetransfer-image.png DESTINATION /usr/share/dlt-filetransfer) -else(CMAKE_INSTALL_PREFIX) - INSTALL(FILES dlt-test-filetransfer-file dlt-test-filetransfer-image.png DESTINATION ${CMAKE_INSTALL_PREFIX}/usr/share/dlt-filetransfer) -endif(NOT CMAKE_INSTALL_PREFIX) +INSTALL(FILES dlt-test-filetransfer-file dlt-test-filetransfer-image.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/dlt-filetransfer) |