Add support for CMake on macOS and Clang #1522
Labels
bug
This has been identified as a bug
cmake
platform:macos
topic:buildsystem
Related to the buildsystem or CI setup
Godot version
Master of godot-cpp
godot-cpp version
Master of godot-cpp
System information
macOS 14.5
Issue description
I'm not able to build using CMake on macOS:
Gives this error:
clang: error: unsupported option '-static-libgcc'
I believe this is caused by the current CMakeLists.txt file assuming that anything that isn't MSVC is GCC:
To fix this, in the CMakeLists.txt file, we should:
Steps to reproduce
Try to build with CMake on macOS.
Minimal reproduction project
Master branch of godot-cpp.
The text was updated successfully, but these errors were encountered: