summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/CMakeLists.txt
blob: b624bdfc3ea365515d13571ec07f811817e11301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if(WIN32)
    opentrack_boilerplate(opentrack-tracker-rs)
    if(opentrack-64bit)
        set(suffix _amd64)
    else()
        set(suffix "")
    endif()
    target_link_libraries(opentrack-tracker-rs "${CMAKE_SOURCE_DIR}/tracker-rs/rs_impl/bin/opentrack-tracker-rs-impl${suffix}.lib")
    install(FILES "${CMAKE_SOURCE_DIR}/tracker-rs/rs_impl/bin/opentrack-tracker-rs-impl${suffix}.dll" DESTINATION . ${opentrack-perms})
    install(FILES "${CMAKE_SOURCE_DIR}/tracker-rs/redist/intel_rs_sdk_runtime_websetup_10.0.26.0396.exe" DESTINATION ./contrib/ ${opentrack-perms})
    install(FILES "${CMAKE_SOURCE_DIR}/tracker-rs/redist/RS_EULA.rtf" DESTINATION ./contrib/ ${opentrack-perms})
endif()