diff options
author | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-05-24 10:54:46 +0900 |
---|---|---|
committer | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-05-24 10:54:46 +0900 |
commit | 0d8271eb4526a430f7ad718b4d2a9f961c09c18a (patch) | |
tree | 832a1a05549b18bac81646646602903c6a4182c6 /src | |
parent | 9e7fafaa31950f82c510da1460568f25c5ad27b8 (diff) |
Use $ORIGIN for rpath
Change-Id: I33e1faa842ce881f56a8734b2463f650510929da
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cc01c57..ab0fd19 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -99,7 +99,7 @@ set_target_properties(${TARGETS_WM} C_STANDARD 99 C_STANDARD_REQUIRED ON - LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../export.map -Wl,-rpath=/var/local/lib/afm/applications/windowmanager-service-2017/0.1/lib/") + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../export.map -Wl,-rpath,'$ORIGIN'") if (LINK_LIBCXX) set_target_properties(${TARGETS_WM} |