Skip to content

Commit

Permalink
(#24328) change gn validate to validate_build
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded committed Jun 14, 2024
1 parent 9024e13 commit b8b3cc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/gn/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _minimum_compiler_version_supporting_cxx17(self):
"apple-clang": 10,
}.get(str(self.settings.compiler))

def validate(self):
def validate_build(self):
if self.settings.compiler.cppstd:
check_min_cppstd(self, 17)
else:
Expand All @@ -59,7 +59,7 @@ def validate(self):

def build_requirements(self):
# FIXME: add cpython build requirements for `build/gen.py`.
self.build_requires("ninja/1.11.1")
self.tool_requires("ninja/1.11.1")

def source(self):
get(self, **self.conan_data["sources"][self.version])
Expand Down

0 comments on commit b8b3cc7

Please sign in to comment.