Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2012-08-07 16:09:48 +0400
committerJens Verwiebe <info@jensverwiebe.de>2012-08-07 16:09:48 +0400
commit9ee3a8655fe35af2fdca6c54953da93ed42111a3 (patch)
treead49936101317defc1ced7c33f6143859111706b /CMakeLists.txt
parentd4029de0d640633365b884f0330f02e864aed41e (diff)
Fix for fix, now nested
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bc086b563fb..5f363809424 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1483,9 +1483,11 @@ endif()
if(MSVC)
# for some reason this fails on msvc
add_definitions(-D__LITTLE_ENDIAN__)
-elseif(APPLE AND ${XCODE_VERSION} VERSION_GREATER 4.3)
- # no more ppc support in xcode > 4.3
- add_definitions(-D__LITTLE_ENDIAN__)
+elseif(APPLE)
+ if (${XCODE_VERSION} VERSION_GREATER 4.3)
+ # no more ppc support in xcode > 4.3
+ add_definitions(-D__LITTLE_ENDIAN__)
+ endif()
else()
include(TestBigEndian)
test_big_endian(_SYSTEM_BIG_ENDIAN)