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:58:08 +0900 |
commit | 0f4fc9687b78340eb99d9dc0d1890cc063735247 (patch) | |
tree | 374bbb51b035145e6a6ef288d121d27e921061f6 /src | |
parent | 0d392f3b85a4c6c1ffd050b92d77734ff6a24b74 (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} |