summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/CMakeLists.txt
blob: 84e667324a96ff7cbb44581cbeaaf21607fd6022 (plain)
1
2
3
4
5
6
7
8
9
10
if(UNIX OR APPLE)
    otr_module(qxt-mini NO-COMPAT BIN)
    if(NOT APPLE)
        pkg_check_modules(xprotopkg REQUIRED xproto)
        target_include_directories(opentrack-qxt-mini SYSTEM PRIVATE ${xprotopkg_INCLUDE_DIRS})
        target_link_libraries(opentrack-qxt-mini X11)
    else()
        otr_prop(TARGET opentrack-qxt-mini LINK_FLAGS "-framework Carbon -framework CoreFoundation")
    endif()
endif()