From a5f33d13a6a086397957bec061fcf386e44aa07a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Gro=C3=9F?= Date: Sat, 8 Jun 2024 13:14:05 +0200 Subject: [PATCH] Do not link to xcb on Apple See #7 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c6ddefa..502e002 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)