From ccb304dce95eb2a3aba3ec60076f0102432022e1 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Mon, 27 Jan 2020 22:20:22 +0100 Subject: [PATCH] added preprocessor defintion for ios --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9584c58d..c5b2348a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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