CMake: Update GCC on macOS Conflict message (#18253)
* CMake 3.18.0+: Builds with GCC on macOS The latest release of CMake updates libuv, which fixes ObjC code usage on macOS. Passing ObjC code to non apple-clang compilers crashed the build before. Refs.: - https://gitlab.kitware.com/cmake/cmake/-/issues/20620 - https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4687 * CMake: Further issues GCC+macOS There are further issues to fix before this will work. https://gitlab.kitware.com/cmake/cmake/-/issues/21135
This commit is contained in:
parent
416afa0059
commit
a6c0b7ab3a
1 changed files with 4 additions and 5 deletions
|
@ -100,12 +100,11 @@ class Cmake(Package):
|
|||
variant('openssl', default=True, description="Enables CMake's OpenSSL features")
|
||||
variant('ncurses', default=True, description='Enables the build of the ncurses gui')
|
||||
|
||||
# Tries to build an Objective-C file from libuv with GCC's C frontend
|
||||
# https://gitlab.kitware.com/cmake/cmake/-/issues/20620
|
||||
# https://github.com/libuv/libuv/issues/2805
|
||||
# Does not compile and is not covered in upstream CI (yet).
|
||||
conflicts('%gcc platform=darwin',
|
||||
msg='CMake does not compile with GCC on macOS yet, use clang. '
|
||||
'See: https://gitlab.kitware.com/cmake/cmake/-/issues/20620')
|
||||
msg='CMake does not compile with GCC on macOS yet, '
|
||||
'please use %apple-clang. '
|
||||
'See: https://gitlab.kitware.com/cmake/cmake/-/issues/21135')
|
||||
|
||||
# Really this should conflict since it's enabling or disabling openssl for
|
||||
# CMake's internal copy of curl. Ideally we'd want a way to have the
|
||||
|
|
Loading…
Reference in a new issue