blob: d4bf0925525e98c41d491063679517e1489f2dd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
if(WIN32)
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)
# for SDK headers
if(CMAKE_COMPILER_IS_GNUCC)
add_definitions(-fpermissive -Wno-error -w
#-Wno-missing-field-initializers -Wno-switch -Wno-sign-compare
#-Wno-unknown-pragmas -Wno-attributes
)
endif()
endif()
|