summaryrefslogtreecommitdiffhomepage
path: root/gui/CMakeLists.txt
blob: d0cba4acaff0c9e8cf7eaa6037432073dc70b5f8 (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
26
otr_module(user-interface EXECUTABLE BIN)

set_target_properties(opentrack-user-interface PROPERTIES
    SUFFIX "${opentrack-binary-suffix}"
    OUTPUT_NAME "opentrack"
    )

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
    target_link_libraries(opentrack-user-interface procps)
endif()