From b282b325e34a58eb09cf13b98bf631c5adec1ea3 Mon Sep 17 00:00:00 2001 From: Joscha Schmiedt <joscha@schmiedt.dev> Date: Wed, 16 Oct 2024 22:01:07 +0200 Subject: [PATCH] Add more info to package_info in conanfile.py --- conanfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index c413159..7428fc8 100644 --- a/conanfile.py +++ b/conanfile.py @@ -96,8 +96,10 @@ class LinkAheadConan(ConanFile): dst=os.path.join(self.package_folder, "lib"), keep_path=False) def package_info(self): - self.cpp_info.libs = ["linkahead", "clinkahead", "caosdb_grpc" ] + self.cpp_info.libs = ["linkahead::linkahead", "linkahead::clinkahead", "linkahead::caosdb_grpc" ] self.cpp_info.requires = ["boost::headers", "grpc::grpc", "protobuf::protobuf"] + self.cpp_info.bindirs = ["build/Release", "build/Debug"] + self.cpp_info.includedirs = ["include", "build/include"] self.cpp_info.components["linkahead::linkahead"].libs = ["linkahead"] self.cpp_info.components["linkahead::linkahead"].set_property("cmake_target_name", "linkahead") -- GitLab