Skip to content

Commit 59c4009

Browse files
committed
Provide a fallback tool_requires to CMake.
1 parent eefe37f commit 59c4009

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

conan/conanfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ def validate(self):
3131
check_min_cppstd(self, "20")
3232

3333

34-
# Handled at the profile level for the moment
35-
#def tool_requires(self):
36-
# self.tool_requires("cmake/[>=3.31]")
34+
# Note: We expect the profile to require it in a specific version
35+
# but having it here makes it simpler for external users.
36+
def tool_requires(self):
37+
self.tool_requires("cmake/[>=3.23]")
3738

3839

3940
def layout(self):

0 commit comments

Comments
 (0)