diff options
author | 2018-05-23 13:16:16 +0900 | |
---|---|---|
committer | 2018-05-23 13:16:16 +0900 | |
commit | bfdd87a4db2b3441866905ac6ac3cf3039a1b20e (patch) | |
tree | 32c79792f568d9845e71ff1a89393b5badec7a93 | |
parent | b4083090dc8bf7adaad23dc11d629be839c7b5cf (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>
-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} |