kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #34631
[PATCH] Fix building on macOS with non-Xcode clang
Hi,
Attached patch fixes building on macOS with non-Xcode clang:
* To avoid problems make documentation suggest that cmake_minimum_required(...) has to be the very first statement directly followed by project(...)
* Policy CMP0025 must be set with min version <3.1 to NEW otherwise cmake will ignore CMAKE_CXX_STANDARD with non-Xcode clang
Tested on macOS with native and non-Xcode clang.
Regards,
Bernhard
Attachment:
0002-Fix-missing-C-11-compiler-flags-when-building-on-mac.patch
Description: Binary data
Follow ups