summaryrefslogtreecommitdiffhomepage
path: root/gui/CMakeLists.txt
blob: 216b6f0e5667f28175ddcdf1cf6652dce185e548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
otr_module(user-interface BIN)

target_link_libraries(opentrack-user-interface
    opentrack-migration
    opentrack-logic
    opentrack-spline
    opentrack-pose-widget
    opentrack-version
)

if(APPLE)
    # for process detector
    target_link_libraries(opentrack-user-interface proc)
endif()

if(LINUX)
    target_link_libraries(opentrack-user-interface dl)
    # for process detector

    # XXX copy-paste from qxt-mini module
    # make a pkg-config wrapper
    # also set ${self} to target's name when invoking `otr_module' -sh 20180527
    otr_pkgconfig(opentrack-user-interface libprocps)
endif()