diff options
author | Memphiz <memphis@machzwo.de> | 2016-10-19 20:27:57 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2016-10-19 20:27:57 +0200 |
commit | 528177edcf77088170573ab68852e0fd177d6521 (patch) | |
tree | 7ea495579e76b3ebbf9dbac480f76bf6bdb0aa8a /tools | |
parent | b4acb432db7d8351feb119bf80370cd2863f4da8 (diff) |
[cmake/toolchain_binaddons] - set CMAKE_SYSTEM_NAME to Darwin for ios - this enables the cmake cross compile flag which will be needed in cmake 3.7 to fix an ugly bug with osx sdk flags spreading into the ios cflags during cross compile
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/Toolchain_binaddons.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/depends/target/Toolchain_binaddons.cmake.in b/tools/depends/target/Toolchain_binaddons.cmake.in index 98494b49fe..a5101803f8 100644 --- a/tools/depends/target/Toolchain_binaddons.cmake.in +++ b/tools/depends/target/Toolchain_binaddons.cmake.in @@ -16,6 +16,7 @@ elseif("${OS}" STREQUAL "osx") set(CORE_SYSTEM_NAME osx) elseif("${OS}" STREQUAL "ios") set(CORE_SYSTEM_NAME ios) + set(CMAKE_SYSTEM_NAME Darwin) elseif("${PLATFORM}" STREQUAL "raspberry-pi") set(CORE_SYSTEM_NAME rbpi) list(APPEND CMAKE_FIND_ROOT_PATH @use_firmware@/opt/vc) |