From 441f93d58ddf648e502c7470681b52fcd8e4b02a Mon Sep 17 00:00:00 2001 From: Ruslan Baratov <ruslan_baratov@yahoo.com> Date: Sat, 2 May 2015 23:44:19 +0200 Subject: [PATCH] Unify iOS platform check There is only one place that use condition `CMAKE_SYSTEM_NAME STREQUAL iOS`. All other `if` command use just IOS. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a02b71a8bb..c7258144cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)