Skip to content

Commit

Permalink
Do not link to xcb on Apple
Browse files Browse the repository at this point in the history
See #7
  • Loading branch information
vimpostor committed Jun 8, 2024
1 parent a51770a commit a5f33d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ list(TRANSFORM QT_MODULES PREPEND "Qt6::")

list(APPEND LINK_LIBS ${QT_MODULES})

if (UNIX)
if (UNIX AND NOT APPLE)
find_package(PkgConfig REQUIRED)
list(APPEND PKGCONFIG_MODULES "xcb" "xcb-ewmh")
foreach(PKG IN LISTS PKGCONFIG_MODULES)
Expand Down

0 comments on commit a5f33d1

Please sign in to comment.