summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-07 11:24:43 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:46 +0100
commitba798bf5f69a55973abf9af85bbe6aaf30c24f98 (patch)
treeaa31efc1a035fc6ae1da9d050999264e7614c842
parentb6b1f969bcf0fe0b3551f01b90d41fab99372a99 (diff)
qxt-mini: fix osx a bit
-rw-r--r--qxt-mini/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/qxt-mini/CMakeLists.txt b/qxt-mini/CMakeLists.txt
index cc73e6a4..487b48d0 100644
--- a/qxt-mini/CMakeLists.txt
+++ b/qxt-mini/CMakeLists.txt
@@ -1,11 +1,12 @@
if(UNIX OR APPLE)
set(self opentrack-qxt-mini)
otr_module(qxt-mini NO-COMPAT BIN)
- otr_pkgconfig(${self} x11 xcb xproto)
if(APPLE)
set_property(TARGET ${self}
APPEND_STRING PROPERTY
LINK_FLAGS " -framework Carbon -framework CoreFoundation ")
+ else()
+ otr_pkgconfig(${self} x11 xcb xproto)
endif()
target_compile_definitions(${self} PRIVATE -DQXT_BUILD)
endif()