summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-21 16:42:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-04-13 19:12:28 +0200
commitaa3c59a0fe8990dc812265bfb7be853307c0c1a2 (patch)
tree7cf5f4ddf558e91528db0b28f52d4f17c5fbffdc
parent632098de893096427ce3171603e76968cfb804f6 (diff)
cmake: update for proto/osc
-rw-r--r--cmake/msvc.cmake4
-rw-r--r--sdk-paths-sthalik@MSVC-windows.cmake2
2 files changed, 6 insertions, 0 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index b1f475bf..cf3bb0cb 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -106,6 +106,10 @@ if(CMAKE_PROJECT_NAME STREQUAL "OpenCV")
set(BUILD_opencv_gapi OFF)
endif()
+if(CMAKE_PROJECT_NAME STREQUAL "TestOscpack")
+ add_compile_definitions(OSC_HOST_LITTLE_ENDIAN)
+endif()
+
set(opentrack-simd "SSE2")
if(CMAKE_PROJECT_NAME STREQUAL "onnxruntime")
diff --git a/sdk-paths-sthalik@MSVC-windows.cmake b/sdk-paths-sthalik@MSVC-windows.cmake
index 8f185695..c0d900ed 100644
--- a/sdk-paths-sthalik@MSVC-windows.cmake
+++ b/sdk-paths-sthalik@MSVC-windows.cmake
@@ -36,6 +36,7 @@ setq(SDK_LIBUSB "libusb-msvc-amd64")
setq(ONNXRuntime_DIR "onnxruntime-1.12.1-amd64")
setq(SDK_TRACKHAT_SENSOR "trackhat-c-library-driver/build-amd64/install")
setq(SDK_EYEWARE_BEAM "BeamSDK-Windows64-1.1.0")
+setq(SDK_OSCPACK "oscpack/build-amd64")
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4)
setq(Qt5_DIR "../qt-5.15-kde/lib/cmake/Qt5")
setq(OpenCV_DIR "opencv/build/install")
@@ -44,6 +45,7 @@ setq(SDK_LIBUSB "libusb-msvc-x86")
setq(ONNXRuntime_DIR "onnxruntime-1.12.1")
setq(SDK_TRACKHAT_SENSOR "trackhat-c-library-driver/build/install")
set(SDK_EYEWARE_BEAM "" CACHE PATH "" FORCE)
+setq(SDK_OSCPACK "oscpack/build")
else()
message(FATAL_ERROR "unknown word size ${CMAKE_SIZEOF_VOID_P}b")
endif()