summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-hier.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-19 07:08:24 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-19 07:38:37 +0200
commit9296ed95961b846a13477581e2947b8be611b154 (patch)
treefabead75d1a74fecc65fa4e86a531174a1248659 /cmake/opentrack-hier.cmake
parent8609af6cced68a0aabd0005a6994f611967201e1 (diff)
cmake: fix libexec dir on linux
Diffstat (limited to 'cmake/opentrack-hier.cmake')
-rw-r--r--cmake/opentrack-hier.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/opentrack-hier.cmake b/cmake/opentrack-hier.cmake
index a9c1ee1a..632c5902 100644
--- a/cmake/opentrack-hier.cmake
+++ b/cmake/opentrack-hier.cmake
@@ -1,6 +1,6 @@
if(NOT opentrack-hier-included)
set(opentrack-hier-included TRUE)
-
+ set(opentrack-install-rpath "")
if(APPLE)
set(opentrack-hier-pfx ".")
set(opentrack-hier-path "/")
@@ -21,7 +21,7 @@ if(NOT opentrack-hier-included)
set(opentrack-hier-doc "/share/doc/opentrack/")
set(opentrack-doc-pfx "./share/doc/opentrack")
set(opentrack-doc-src-pfx "./share/doc/opentrack/source-code")
- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${opentrack-hier-pfx}")
+ set(opentrack-install-rpath "${CMAKE_INSTALL_PREFIX}/${opentrack-hier-pfx}")
set(opentrack-hier-str ARCHIVE DESTINATION lib/opentrack LIBRARY DESTINATION ${opentrack-hier-pfx} RUNTIME DESTINATION bin)
endif()