diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-07 13:21:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-07 13:21:44 +0200 |
commit | 12235b271e970cbbe19c97a6217156969e9b6853 (patch) | |
tree | aba4a7ad52e3408508949adfa7f628f7bc1a140e /tracker-rs/CMakeLists.txt | |
parent | 9027f80b86e8caddd3245170460450a096afc33f (diff) |
tracker/rs: add support for 64-bit library
Diffstat (limited to 'tracker-rs/CMakeLists.txt')
-rw-r--r-- | tracker-rs/CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tracker-rs/CMakeLists.txt b/tracker-rs/CMakeLists.txt index e81dc5ae..b624bdfc 100644 --- a/tracker-rs/CMakeLists.txt +++ b/tracker-rs/CMakeLists.txt @@ -1,7 +1,12 @@ if(WIN32) opentrack_boilerplate(opentrack-tracker-rs) - target_link_libraries(opentrack-tracker-rs "${CMAKE_SOURCE_DIR}/tracker-rs/rs_impl/bin/opentrack-tracker-rs-impl.lib") - install(FILES "${CMAKE_SOURCE_DIR}/tracker-rs/rs_impl/bin/opentrack-tracker-rs-impl.dll" DESTINATION . ${opentrack-perms}) + 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() |