mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
build-system/iOS: ensure cmake works for Qt builds
I stumbled across needing this when trying to build Kirigami via cmake (just like on Android). I abandoned that attempt, but there seems to be no harm in adding this. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c5074c8af5
commit
320b4a77ef
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ SET (CMAKE_CROSSCOMPILING TRUE)
|
|||
SET (CMAKE_SYSTEM_NAME "Darwin")
|
||||
SET (CMAKE_SYSTEM_PROCESSOR "arm")
|
||||
SET (CMAKE_OSX_SYSROOT "$ENV{PLATFORM_DIR}")
|
||||
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
|
||||
|
||||
SET (CMAKE_C_COMPILER $ENV{CC})
|
||||
SET (CMAKE_CXX_COMPILER $ENV{CXX})
|
||||
|
|
|
@ -4,6 +4,7 @@ SET (CMAKE_CROSSCOMPILING TRUE)
|
|||
SET (CMAKE_SYSTEM_NAME "Darwin")
|
||||
SET (CMAKE_SYSTEM_PROCESSOR "i386")
|
||||
SET (CMAKE_OSX_SYSROOT "$ENV{PLATFORM_DIR}")
|
||||
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
|
||||
|
||||
SET (CMAKE_C_COMPILER $ENV{CC})
|
||||
SET (CMAKE_CXX_COMPILER $ENV{CXX})
|
||||
|
|
Loading…
Reference in a new issue