summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/CMakeLists.txt
blob: 2fe5993be6885eb8f7f44972041b7c2ca22ddb0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if(UNIX OR APPLE)
    opentrack_boilerplate(opentrack-qxt-mini
        NO-LINKER-SCRIPT NO-COMPAT
        COMPILE "-DQXT_BUILD -DBUILD_QXT_GUI"
    )
    if(NOT APPLE)
        target_link_libraries(opentrack-qxt-mini X11)
    else()
        set_target_properties(opentrack-qxt-mini PROPERTIES LINK_FLAGS
            "-framework Carbon -framework CoreFoundation")
    endif()
endif()