vcpkg/ports/realsense2/fix-android-prefix-path.patch
MonicaLiu f37984ff74
[realsense2] Update to 2.56.2 (#41984)
Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-11-15 14:52:53 -08:00

18 lines
678 B
Diff

diff --git a/CMake/android_config.cmake b/CMake/android_config.cmake
index 203003e..4eac6dd 100644
--- a/CMake/android_config.cmake
+++ b/CMake/android_config.cmake
@@ -16,7 +16,11 @@ macro(os_set_flags)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-switch -Wno-multichar")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fPIE -pie")
set(HWM_OVER_XU ON)
-
+
+ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
+ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
+ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
+
if(FORCE_RSUSB_BACKEND)
set(BACKEND RS2_USE_ANDROID_BACKEND)
set(IMPORT_DEPTH_CAM_FW OFF)