Skip to content
This repository was archived by the owner on Mar 22, 2020. It is now read-only.

Commit 3b6d008

Browse files
committed
Set CMAKE_CXX_FLAGS_RELEASE for iOS
Support for polly iOS toolchain
1 parent a0a5b82 commit 3b6d008

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ project(OpenCV CXX C)
9595

9696
if(IOS)
9797
set(CMAKE_SYSTEM_PROCESSOR "")
98+
set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3 -fomit-frame-pointer -ffast-math")
9899
endif()
99100

100101
if(MSVC)

0 commit comments

Comments
 (0)