diff options
author | 2018-05-23 13:16:16 +0900 | |
---|---|---|
committer | 2018-05-23 13:24:52 +0900 | |
commit | f3212c29d4e060bc5cc1ee60f9c034b22b6b4039 (patch) | |
tree | 6890dfaf6f73b05c201ddf4c88455e9b57ef8851 /src | |
parent | 351391b2f6becfc0d64f6376396afaaa7e668672 (diff) |
Loads libpolicy_manager.so from the directory where WindowManager is installed
Change-Id: Ie581e361323dd267a51f2c6e72807ad712e4dca9
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 60c9394..cc01c57 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -66,7 +66,7 @@ target_link_libraries(${TARGETS_WM} ${AFB_LIBRARIES} ${WLC_LIBRARIES} ${SD_LIBRARIES} - ${PLUGIN_PM} + ${CMAKE_BINARY_DIR}/src/${PLUGIN_PM}/lib${PLUGIN_PM}.so ) target_compile_definitions(${TARGETS_WM} @@ -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") + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../export.map -Wl,-rpath=/var/local/lib/afm/applications/windowmanager-service-2017/0.1/lib/") if (LINK_LIBCXX) set_target_properties(${TARGETS_WM} |