Skip to content

Commit

Permalink
Require Qt5X11Extras (#645)
Browse files Browse the repository at this point in the history
Signed-off-by: Enrico Belleri <kilgore.trout@idesmi.eu>
Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
  • Loading branch information
Idesmi and Shatur committed Jan 2, 2024
1 parent 98457e0 commit 1c91fce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ if(UNIX)
find_package(Qt5 REQUIRED COMPONENTS DBus)
if(NOT APPLE)
find_package(XCB REQUIRED COMPONENTS XCB)
find_package(Qt5 REQUIRED COMPONENTS X11Extras)
if(WITH_KWAYLAND)
find_package(KF5Wayland REQUIRED COMPONENTS Client)
endif()
Expand Down Expand Up @@ -235,7 +236,10 @@ target_link_libraries(${PROJECT_NAME} PRIVATE
if(UNIX)
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::DBus)
if(NOT APPLE)
target_link_libraries(${PROJECT_NAME} PRIVATE XCB::XCB)
target_link_libraries(${PROJECT_NAME} PRIVATE
XCB::XCB
Qt5::X11Extras
)
if(WITH_KWAYLAND)
target_link_libraries(${PROJECT_NAME} PRIVATE KF5::WaylandClient)
target_compile_definitions(${PROJECT_NAME} PRIVATE WITH_KWAYLAND)
Expand Down

0 comments on commit 1c91fce

Please sign in to comment.