blob: 1b2496f6358a5e0d1aedf330f0f67a693a5cf508 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
if(UNIX OR APPLE)
set(self opentrack-qxt-mini)
include_directories(SYSTEM ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
otr_module(qxt-mini NO-COMPAT BIN)
if(APPLE)
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()
target_compile_definitions(${self} PRIVATE -DQXT_BUILD)
endif()
|