Skip to content

cmake: workaround iOS try_compile(COPY_FILE) bug - #13912

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:cmake_workaround_trycompile_ios
Feb 26, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:cmake_workaround_trycompile_ios

Conversation

@alalek

@alalek alalek commented Feb 25, 2019 •

Copy link
Copy Markdown
Member

which breaks check_type_size() macro.

resolves #13856

@alalek

alalek commented Feb 26, 2019

Copy link
Copy Markdown
Member Author

👍

@opencv-pushbot
opencv-pushbot merged commit a065c10 into opencv:3.4 Feb 26, 2019
@alalek alalek mentioned this pull request Feb 26, 2019
@rayfix

rayfix commented Mar 22, 2023 •

Copy link
Copy Markdown

Apparently, this workaround causes OpenCV on iOS XCFrameworks not to build on my M1 running Ventura. I was able to make build xcframeworks by doing export OPENCV_SKIP_XCODEBUILD_FORCE_TRYCOMPILE_DEBUG=1

This is where I figured it out:
https://gitlab.kitware.com/cmake/cmake/-/issues/24257

@opencv-alalek opencv-alalek mentioned this pull request May 15, 2023
4 tasks done
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants