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

Commit 10d0ceb

Browse files
committed
Set CMAKE_CXX_FLAGS_RELEASE for iOS
Support for polly iOS toolchain
1 parent b0055e2 commit 10d0ceb

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
@@ -77,6 +77,7 @@ project(OpenCV CXX C)
7777

7878
if(IOS)
7979
set(CMAKE_SYSTEM_PROCESSOR "")
80+
set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3 -fomit-frame-pointer -ffast-math")
8081
endif()
8182

8283
if(MSVC)

0 commit comments

Comments
 (0)