summaryrefslogtreecommitdiffhomepage
path: root/opentrack/CMakeLists.txt
blob: 7a83beb696bcbc3445b0121840fe4d0d158820ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if(MSVC)
    add_compile_options(-EHsc)
    add_definitions(-D_HAS_EXCEPTIONS=1)
endif()

otr_module(executable EXECUTABLE BIN)

set_target_properties(opentrack-executable PROPERTIES
    SUFFIX "${opentrack-binary-suffix}"
    OUTPUT_NAME "opentrack"
    PREFIX ""
)

target_link_libraries(${self} opentrack-user-interface opentrack-version)