diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2012-04-22 15:23:17 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2012-04-22 15:23:17 +0400 |
commit | 69d0a68f0d7ed82b9701c5a7832f609e4ea4fd75 (patch) | |
tree | 6bfb78ffe5c4e059c0456801261b303fc1b94998 /CMakeLists.txt | |
parent | 49ff0eeec443ebe5003ec09bc655d73abc69a327 (diff) |
OSX/cmake: LESS must be VERSION_LESS for XCODE_VERSION
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2669f2ff93f..003176e7b96 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1137,7 +1137,7 @@ elseif(APPLE) set(WITH_LIBS10.5 ON CACHE BOOL "Use 10.5 libs" FORCE) # valid also for 10.6/10.7 endif() - if(${XCODE_VERSION} LESS 4.3) + if(${XCODE_VERSION} VERSION_LESS 4.3) SET(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX${OSX_SYSTEM}.sdk CACHE PATH "" FORCE ) # use guaranteed existing sdk else() # note: i don't use xcode-select path on purpose, cause also /Applications/Xcode.app would be allowed |