diff -up albert-0.14.18/application/CMakeLists.txt.fixbuild albert-0.14.18/application/CMakeLists.txt --- albert-0.14.18/application/CMakeLists.txt.fixbuild 2018-03-23 14:34:32.000000000 +0200 +++ albert-0.14.18/application/CMakeLists.txt 2018-04-22 22:36:24.854140822 +0200 @@ -6,7 +6,7 @@ project(albert) add_executable(${PROJECT_NAME} main.cpp) # Link target to libraries -target_link_libraries(${PROJECT_NAME} PRIVATE albertcore) +target_link_libraries(${PROJECT_NAME} PRIVATE albertcore globalshortcut xdg) # Set the RPATH for the library lookup set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/albert/") diff -up albert-0.14.18/lib/globalshortcut/CMakeLists.txt.fixbuild albert-0.14.18/lib/globalshortcut/CMakeLists.txt --- albert-0.14.18/lib/globalshortcut/CMakeLists.txt.fixbuild 2018-03-23 14:34:32.000000000 +0200 +++ albert-0.14.18/lib/globalshortcut/CMakeLists.txt 2018-04-22 22:36:24.854140822 +0200 @@ -12,7 +12,7 @@ set(SRC src/hotkeymanager.cpp ) -set(LIB ${Qt5Gui_LIBRARIES}) +set(LIB ${Qt5Gui_LIBRARIES} xdg) if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") find_package(Qt5 5.5.0 REQUIRED X11Extras) diff -up albert-0.14.18/plugins/qmlboxmodel/CMakeLists.txt.fixbuild albert-0.14.18/plugins/qmlboxmodel/CMakeLists.txt --- albert-0.14.18/plugins/qmlboxmodel/CMakeLists.txt.fixbuild 2018-04-07 17:16:08.000000000 +0200 +++ albert-0.14.18/plugins/qmlboxmodel/CMakeLists.txt 2018-04-22 22:36:24.854140822 +0200 @@ -4,7 +4,7 @@ project(qmlboxmodel) file(GLOB_RECURSE SRC src/* metadata.json) -find_package(Qt5 5.5.0 REQUIRED COMPONENTS Widgets Qml Quick) +find_package(Qt5 5.5.0 REQUIRED COMPONENTS Widgets Qml Quick X11Extras) add_library(${PROJECT_NAME} SHARED ${SRC}) @@ -15,8 +15,10 @@ target_link_libraries(${PROJECT_NAME} ${Qt5Widgets_LIBRARIES} ${Qt5Qml_LIBRARIES} ${Qt5Quick_LIBRARIES} + ${Qt5X11Extras_LIBRARIES} albertcore Xext + X11 ) install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/albert/plugins) diff -up albert-0.14.18/plugins/widgetboxmodel/CMakeLists.txt.fixbuild albert-0.14.18/plugins/widgetboxmodel/CMakeLists.txt --- albert-0.14.18/plugins/widgetboxmodel/CMakeLists.txt.fixbuild 2018-04-07 17:16:08.000000000 +0200 +++ albert-0.14.18/plugins/widgetboxmodel/CMakeLists.txt 2018-04-22 22:36:24.854140822 +0200 @@ -4,7 +4,7 @@ project(widgetboxmodel) file(GLOB_RECURSE SRC src/* metadata.json) -find_package(Qt5 5.5.0 REQUIRED COMPONENTS Widgets Svg) +find_package(Qt5 5.5.0 REQUIRED COMPONENTS Widgets Svg X11Extras) add_library(${PROJECT_NAME} SHARED ${SRC}) @@ -14,8 +14,10 @@ target_link_libraries(${PROJECT_NAME} PRIVATE ${Qt5Widgets_LIBRARIES} ${Qt5Svg_LIBRARIES} + ${Qt5X11Extras_LIBRARIES} albertcore Xext + X11 ) install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/albert/plugins)