Skip to content

Commit

Permalink
capnproto: fix minimum cmake version for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxu committed Sep 27, 2021
1 parent ab88ef2 commit 010cee9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipes/capnproto/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ class TestPackageConan(ConanFile):
def build_requirements(self):
if tools.cross_building(self.settings):
self.build_requires(str(self.requires["capnproto"]))
if self.settings.os == "Macos" and self.settings.arch == "armv8":
# 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.
self.build_requires("cmake/3.20.1")

def build(self):
cmake = CMake(self)
Expand Down

0 comments on commit 010cee9

Please sign in to comment.