summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/CMakeLists.txt
blob: 487b48d067e9b11b8cef6802684f825b8846b7b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if(UNIX OR APPLE)
    set(self opentrack-qxt-mini)
    otr_module(qxt-mini NO-COMPAT BIN)
    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()