mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-16 11:31:19 +00:00
(#11344) [cityhash] Macos: Remove cmake as build_requirement
Signed-off-by: Uilian Ries <uilianries@gmail.com>
This commit is contained in:
@@ -6,15 +6,6 @@ class TestPackageConan(ConanFile):
|
||||
settings = "os", "arch", "compiler", "build_type"
|
||||
generators = "cmake", "cmake_find_package_multi"
|
||||
|
||||
def build_requirements(self):
|
||||
if self.settings.os == "Macos" and self.settings.arch == "armv8":
|
||||
# Workaround for CMake bug with error message:
|
||||
# Attempting to use @rpath without CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG being
|
||||
# set. This could be because you are using a Mac OS X version less than 10.5
|
||||
# or because CMake's platform configuration is corrupt.
|
||||
# FIXME: Remove once CMake on macOS/M1 CI runners is upgraded.
|
||||
self.build_requires("cmake/3.22.0")
|
||||
|
||||
def build(self):
|
||||
cmake = CMake(self)
|
||||
cmake.configure()
|
||||
|
Reference in New Issue
Block a user