freebsd-ports/x11/albert/files/patch-plugins_widgetboxmodel_CMakeLists.txt
Jesper Schmitz Mouridsen 586b77bee1 New port x11/albert
Albert is a fast and flexible keyboard launcher

Approved by:	lwhsu
Differential Revision: https://reviews.freebsd.org/D23367
2020-01-29 14:22:22 +00:00

19 lines
578 B
Text

--- plugins/widgetboxmodel/CMakeLists.txt.orig 2018-12-31 15:24:22 UTC
+++ plugins/widgetboxmodel/CMakeLists.txt
@@ -5,6 +5,7 @@ project(widgetboxmodel)
file(GLOB_RECURSE SRC src/*)
find_package(Qt5 5.5.0 REQUIRED COMPONENTS Widgets Svg)
+find_package(X11)
add_library(${PROJECT_NAME} SHARED ${SRC} metadata.json)
@@ -15,7 +16,7 @@ target_link_libraries(${PROJECT_NAME}
Qt5::Svg
Qt5::Widgets
albert::lib
- Xext
+ ${X11_Xext_LIB}
)
install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/albert/plugins)