leetal / ios-cmake

A CMake toolchain file for iOS/iPadOS, visionOS, macOS, watchOS & tvOS C/C++/Obj-C++ development
BSD 3-Clause "New" or "Revised" License
1.91k stars 450 forks source link

fix: Suppress syntax error #179

Closed FlorianDenis closed 1 year ago

FlorianDenis commented 1 year ago

When building with master currently, the following warning appears:

CMake Warning (dev) at 3rd-party/ios-cmake/git/ios.toolchain.cmake:162:
  Syntax Warning in cmake code at column 40

  Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.24.1/share/cmake/Modules/CMakeDetermineSystem.cmake:124 (include)
  CMakeLists.txt:8 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

This change suppresses it