mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
3d9cb5329c
Add experimental support for Apple VisionOS platform #24136 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch This is dependent on cmake support for VisionOs which is currently in progress. Creating PR now to test that there are no regressions in iOS and macOS builds
6 lines
222 B
CMake
6 lines
222 B
CMake
message(STATUS "Setting up visionOS toolchain for VISIONOS_ARCH='${VISIONOS_ARCH}'")
|
|
set(VISIONOS TRUE)
|
|
set(XROS 1)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/common-ios-toolchain.cmake)
|
|
message(STATUS "visionOS toolchain loaded")
|