diff options
author | Vitaly Zaitsev <vitaly@easycoding.org> | 2019-06-26 12:27:43 +0200 |
---|---|---|
committer | Vitaly Zaitsev <vitaly@easycoding.org> | 2019-06-26 12:27:43 +0200 |
commit | eb4795390b69e420223eb2add9c3baf9963f913f (patch) | |
tree | a890ed7ff803a33c0c746893e5ade6fdb13f2ff2 /CMakeLists.txt | |
parent | cfd6c5703a7ca4a22fe1b1e78713b33f32f1a085 (diff) |
Removed RPATH from compiled binaries.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 321234dd..66d262f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -456,6 +456,8 @@ if(EXTERNAL_PROJECT_DEPS) add_dependencies(nheko ${EXTERNAL_PROJECT_DEPS}) endif() +set_target_properties(nheko PROPERTIES SKIP_BUILD_RPATH TRUE) + if(UNIX AND NOT APPLE) install (TARGETS nheko RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") install (FILES "resources/nheko-16.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/16x16/apps" RENAME "nheko.png") |