summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/CMakeLists.txt
blob: b380e1b0f5572a9616a6fb2294fdb8840d46dffc (plain)
1
2
3
4
5
6
7
8
9
10
11
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)
        add_definitions(-DQXT_BUILD)
    else()
        otr_prop(TARGET opentrack-qxt-mini LINK_FLAGS "-framework Carbon -framework CoreFoundation")
    endif()
endif()