added preprocessor defintion for ios
This commit is contained in:
parent
b1dbb8867e
commit
ccb304dce9
1 changed files with 5 additions and 0 deletions
|
|
@ -13,6 +13,11 @@ set(VERSION "1.0")
|
|||
# cmake_policy(SET CMP0020 OLD)
|
||||
# endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "iOS")
|
||||
add_definitions(-DIOS_BUILD)
|
||||
endif()
|
||||
|
||||
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
|
||||
# build types
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue