Browse Source
Merge pull request #4993 from martin-frbg/issue4991
Translate CMAKE_SYSTEM_NAME in compilations on or for IOS
tags/v0.3.29
Martin Kroeker
GitHub
10 months ago
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
0 deletions
-
cmake/system_check.cmake
|
|
@@ -10,6 +10,10 @@ if (${HOST_OS} STREQUAL "WINDOWS") |
|
|
|
set(HOST_OS WINNT) |
|
|
|
endif () |
|
|
|
|
|
|
|
if (${HOST_OS} STREQUAL "IOS") |
|
|
|
set(HOST_OS DARWIN) |
|
|
|
endif () |
|
|
|
|
|
|
|
if (${HOST_OS} STREQUAL "LINUX") |
|
|
|
# check if we're building natively on Android (TERMUX) |
|
|
|
EXECUTE_PROCESS( COMMAND uname -o COMMAND tr -d '\n' OUTPUT_VARIABLE OPERATING_SYSTEM) |
|
|
|