summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini
diff options
context:
space:
mode:
authorR. van twisk <ries.van.twisk@ing.com>2019-11-30 12:22:16 +0100
committerR. van twisk <ries.van.twisk@ing.com>2019-11-30 12:22:16 +0100
commit377dc1af24d5803aac11fa70e369eae9c40e8b7f (patch)
treeca75309db4639974d2b8f1b8ac51847fe53179e2 /qxt-mini
parentebf9de109b86336b8844fc6fd15a34760481de5e (diff)
OSX Build fixes
Diffstat (limited to 'qxt-mini')
-rw-r--r--qxt-mini/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/qxt-mini/CMakeLists.txt b/qxt-mini/CMakeLists.txt
index 21b2b160..1b2496f6 100644
--- a/qxt-mini/CMakeLists.txt
+++ b/qxt-mini/CMakeLists.txt
@@ -3,7 +3,9 @@ if(UNIX OR APPLE)
include_directories(SYSTEM ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
otr_module(qxt-mini NO-COMPAT BIN)
if(APPLE)
- target_link_options(${self} PUBLIC -framework Carbon -framework CoreFoundation)
+ find_library(CoreFoundation CoreFoundation)
+ find_library(Carbon Carbon)
+ target_link_options(${self} PUBLIC -framework Carbon -I ${CoreFoundation})
else()
otr_pkgconfig(${self} x11 xcb xproto)
endif()