summary refs log tree commit diff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVitaly Zaitsev <vitaly@easycoding.org>2019-06-26 12:27:43 +0200
committerVitaly Zaitsev <vitaly@easycoding.org>2019-06-26 12:27:43 +0200
commiteb4795390b69e420223eb2add9c3baf9963f913f (patch)
treea890ed7ff803a33c0c746893e5ade6fdb13f2ff2 /CMakeLists.txt
parentFurther UI Updates to Rich Replies (diff)
downloadnheko-eb4795390b69e420223eb2add9c3baf9963f913f.tar.xz
Removed RPATH from compiled binaries.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
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")