Skip to content

Commit

Permalink
[xcode5] cmake fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
amet committed Oct 16, 2013
1 parent ee9b6e8 commit 3c4fa65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/depends/native/cmake-native/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PLATFORM=$(NATIVEPLATFORM)
DEPS= ../../Makefile.include.in Makefile

APPNAME=cmake
VERSION=2.8.8
VERSION=2.8.12
SOURCE=$(APPNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.gz

Expand Down
3 changes: 3 additions & 0 deletions tools/depends/target/Toolchain.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ SET(OS "@platform_os@")
IF("${OS}" STREQUAL "linux" OR "${OS}" STREQUAL "android")
SET(CMAKE_SYSTEM_NAME Linux)
ENDIF()
IF("${OS}" STREQUAL "ios" OR "${OS}" STREQUAL "osx")
SET(CMAKE_OSX_SYSROOT @use_sdk_path@)
ENDIF()
SET(CMAKE_SYSTEM_VERSION 1)

# specify the cross compiler
Expand Down

0 comments on commit 3c4fa65

Please sign in to comment.