diff options
author | Tobias Kortkamp <t@tobik.me> | 2019-04-23 12:17:16 +0200 |
---|---|---|
committer | Tobias Kortkamp <t@tobik.me> | 2019-04-23 12:17:16 +0200 |
commit | 620ae690209a36b680524f4a4d8bec2f464f05fa (patch) | |
tree | 7c89af37018877af331042d6e82f0e84dbd9ac42 /lib/renderers/wayland/CMakeLists.txt | |
parent | 2ca0625a70245e8a0aa1cda2be7c367c4fd62949 (diff) | |
download | bemenu-620ae690209a36b680524f4a4d8bec2f464f05fa.tar.gz bemenu-620ae690209a36b680524f4a4d8bec2f464f05fa.tar.bz2 bemenu-620ae690209a36b680524f4a4d8bec2f464f05fa.zip |
Use x_LINK_LIBRARIES instead of x_LIBRARIES
The libraries might not be in the linkers default search path, so
use absolute paths for them instead when using TARGET_LINK_LIBRARIES.
Note that XKBCOMMON_LIBRARIES is an alias for XKBCOMMON_LIBRARY and
already contains an absolute path.
Signed-off-by: Tobias Kortkamp <t@tobik.me>
Diffstat (limited to 'lib/renderers/wayland/CMakeLists.txt')
-rw-r--r-- | lib/renderers/wayland/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/renderers/wayland/CMakeLists.txt b/lib/renderers/wayland/CMakeLists.txt index e4c473e..dbe56c8 100644 --- a/lib/renderers/wayland/CMakeLists.txt +++ b/lib/renderers/wayland/CMakeLists.txt @@ -13,5 +13,5 @@ WAYLAND_ADD_PROTOCOL_CLIENT(proto-xdg-shell "xdg-shell.xml" xdg-shell) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} ${WAYLAND_CLIENT_INCLUDE_DIR} ${XKBCOMMON_INCLUDE_DIR} ${CAIRO_INCLUDE_DIRS} ${PANGO_INCLUDE_DIRS} ${EPOLL_SHIM_INCLUDE_DIRS}) ADD_LIBRARY(bemenu-renderer-wayland SHARED wayland.c registry.c window.c ${proto-layer-shell} ${proto-xdg-shell}) SET_TARGET_PROPERTIES(bemenu-renderer-wayland PROPERTIES PREFIX "") -TARGET_LINK_LIBRARIES(bemenu-renderer-wayland ${BEMENU_LIBRARIES} ${WAYLAND_CLIENT_LIBRARIES} ${XKBCOMMON_LIBRARIES} ${CAIRO_LIBRARIES} ${PANGO_LIBRARIES} ${EPOLL_SHIM_LIBRARIES} m) +TARGET_LINK_LIBRARIES(bemenu-renderer-wayland ${BEMENU_LIBRARIES} ${WAYLAND_CLIENT_LINK_LIBRARIES} ${XKBCOMMON_LIBRARIES} ${CAIRO_LINK_LIBRARIES} ${PANGO_LINK_LIBRARIES} ${EPOLL_SHIM_LINK_LIBRARIES} m) INSTALL(TARGETS bemenu-renderer-wayland DESTINATION "${CMAKE_INSTALL_LIBDIR}/bemenu") |