Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 8.0.1
-
None
Description
The "IOS" variable (https://cmake.org/cmake/help/latest/variable/IOS.html) is not properly set when compiling for iOS from QtCreator.
if(CMAKE_SYSTEM_NAME STREQUAL "iOS") message("Got iOS system name") # OK endif() if(IOS) message("Is iOS") # NOT OK endif()