projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01b485
)
Unify iOS platform check
author
Ruslan Baratov
<ruslan_baratov@yahoo.com>
Sat, 2 May 2015 21:44:19 +0000
(23:44 +0200)
committer
Ruslan Baratov
<ruslan_baratov@yahoo.com>
Sat, 2 May 2015 21:44:19 +0000
(23:44 +0200)
There is only one place that use condition `CMAKE_SYSTEM_NAME STREQUAL iOS`.
All other `if` command use just IOS.
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
a02b71a
..
c725814
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-488,7
+488,7
@@
include(cmake/OpenCVModule.cmake)
# Detect endianness of build platform
# ----------------------------------------------------------------------------
-if(
CMAKE_SYSTEM_NAME STREQUAL i
OS)
+if(
I
OS)
# test_big_endian needs try_compile, which doesn't work for iOS
# http://public.kitware.com/Bug/view.php?id=12288
set(WORDS_BIGENDIAN 0)