summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rs')
-rw-r--r--tracker-rs/CMakeLists.txt2
-rw-r--r--tracker-rs/rs_impl/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tracker-rs/CMakeLists.txt b/tracker-rs/CMakeLists.txt
index 109613d6..7fda508e 100644
--- a/tracker-rs/CMakeLists.txt
+++ b/tracker-rs/CMakeLists.txt
@@ -4,7 +4,7 @@ if(WIN32 AND SDK_REALSENSE)
if(CMAKE_COMPILER_IS_GNUCC)
add_definitions(-fpermissive) # for SDK headers
endif()
- opentrack_boilerplate(opentrack-tracker-rs)
+ otr_module(tracker-rs)
install(FILES "${CMAKE_SOURCE_DIR}/tracker-rs/redist/intel_rs_sdk_runtime_websetup_10.0.26.0396.exe" DESTINATION ${opentrack-contrib-pfx} ${opentrack-perms})
install(FILES "${CMAKE_SOURCE_DIR}/tracker-rs/redist/RS_EULA.rtf" DESTINATION ${opentrack-contrib-pfx} ${opentrack-perms})
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/rs_impl")
diff --git a/tracker-rs/rs_impl/CMakeLists.txt b/tracker-rs/rs_impl/CMakeLists.txt
index 24c96b53..7148cdf1 100644
--- a/tracker-rs/rs_impl/CMakeLists.txt
+++ b/tracker-rs/rs_impl/CMakeLists.txt
@@ -1,5 +1,5 @@
if(WIN32)
- opentrack_boilerplate(opentrack-tracker-rs-impl STATIC NO-QT SOURCES "${SDK_REALSENSE}/opensource/src/libpxc/libpxc.cpp")
+ otr_module(tracker-rs-impl STATIC NO-QT SOURCES "${SDK_REALSENSE}/opensource/src/libpxc/libpxc.cpp")
target_compile_definitions(opentrack-tracker-rs-impl PRIVATE -DUNICODE -D_UNICODE)
target_include_directories(opentrack-tracker-rs-impl PRIVATE SYSTEM "${SDK_REALSENSE}/include")
target_link_libraries(opentrack-tracker-rs-impl advapi32)