Skip to content

Commit

Permalink
set CMP0091
Browse files Browse the repository at this point in the history
  • Loading branch information
toge committed Sep 23, 2024
1 parent 77be663 commit 328491e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/curlpp/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def layout(self):

def requirements(self):
# As it's a wrapper, it includes curl symbols in its public headers
self.requires("libcurl/8.9.1", transitive_headers=True, transitive_libs=True)
self.requires("libcurl/8.10.0", transitive_headers=True, transitive_libs=True)

def validate(self):
if self.settings.compiler.get_safe("cppstd"):
Expand All @@ -56,6 +56,7 @@ def source(self):
def generate(self):
tc = CMakeToolchain(self)
tc.variables["CURLPP_BUILD_SHARED_LIBS"] = self.options.shared
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0091"] = "NEW"
tc.generate()
deps = CMakeDeps(self)
deps.generate()
Expand Down

0 comments on commit 328491e

Please sign in to comment.