Skip to content

Commit 0d5f9a2

Browse files
committed
Fix set_property
1 parent 8acfc9c commit 0d5f9a2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

recipes/secp256k1/all/conanfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
from conan import ConanFile, tools
2-
from conan.tools.cmake import CMake, CMakeToolchain, CMakeDeps, cmake_layout
2+
from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain, cmake_layout
33
from conan.tools.files import get
44

55
required_conan_version = ">=2.0.0"
66

7+
78
class SecpConan(ConanFile):
89
name = "secp256k1"
910
description = "High-performance high-assurance C library for digital signatures and other cryptographic primitives on the secp256k1 elliptic curve."
@@ -47,5 +48,5 @@ def package(self):
4748

4849
def package_info(self):
4950
self.cpp_info.libs = ["secp256k1"]
50-
self.cpp_info.set_property("cmake_find_package", "secp256k1")
51-
self.cpp_info.set_property("cmake_find_package_multi", "secp256k1")
51+
self.cpp_info.set_property("cmake_file_name", "secp256k1")
52+
self.cpp_info.set_property("cmake_target_name", "secp256k1::secp256k1")

0 commit comments

Comments
 (0)