Merge pull request #3983 from ruslo:unify.ios

This commit is contained in:
Vadim Pisarevsky 2015-05-15 12:32:05 +00:00
commit 3109c77013

View File

@ -488,7 +488,7 @@ include(cmake/OpenCVModule.cmake)
# Detect endianness of build platform
# ----------------------------------------------------------------------------
if(CMAKE_SYSTEM_NAME STREQUAL iOS)
if(IOS)
# 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)