From 9deb6dafac0877423abe38eab887d11ea80ef548 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Mar 2017 01:35:34 +0200 Subject: cmake: rename project's function prefix It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module". --- tracker-rs/CMakeLists.txt | 2 +- tracker-rs/rs_impl/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-rs') 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) -- cgit v1.2.3