summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/CMakeLists.txt
blob: cc73e6a4fb625da60c04cb453e0ea7cc873c745c (plain)
1
2
3
4
5
6
7
8
9
10
11
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 ")
    endif()
    target_compile_definitions(${self} PRIVATE -DQXT_BUILD)
endif()