summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/CMakeLists.txt
blob: f355b9435ca841e4a96f6e8d4fa62fe94eca9793 (plain)
1
2
3
4
5
6
7
8
9
10
if(UNIX OR APPLE)
    set(self opentrack-qxt-mini)
    otr_module(qxt-mini NO-COMPAT BIN)
    if(APPLE)
        target_link_options(${self} PUBLIC -framework Carbon -framework CoreFoundation)
    else()
        otr_pkgconfig(${self} x11 xcb xproto)
    endif()
    target_compile_definitions(${self} PRIVATE -DQXT_BUILD)
endif()