File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.21)
22set (CMAKE_CXX_STANDARD 20)
33set (CMAKE_CXX_STANDARD_REQUIRED ON )
44
5- if ("${GEODE_TARGET_PLATFORM } " STREQUAL "iOS" OR IOS )
5+ if ("${CMAKE_SYSTEM_NAME } " STREQUAL "iOS" OR IOS )
66 set (CMAKE_OSX_ARCHITECTURES "arm64" )
77 add_definitions (-DGLES_SILENCE_DEPRECATION )
88else ()
@@ -95,7 +95,7 @@ endif()
9595
9696add_subdirectory ($ENV{GEODE_SDK} ${CMAKE_CURRENT_BINARY_DIR} /geode )
9797
98- if (APPLE ) # AND NOT (${GEODE_TARGET_PLATFORM } STREQUAL "iOS" OR IOS)
98+ if (APPLE AND NOT (${CMAKE_SYSTEM_NAME } STREQUAL "iOS" OR IOS )
9999 target_link_libraries(${PROJECT_NAME} paho-mqttpp3-static "-framework OpenGL" )
100100else()
101101 target_link_libraries(${PROJECT_NAME} paho-mqttpp3-static)
You can’t perform that action at this time.
0 commit comments