Skip to content
Snippets Groups Projects
Commit b282b325 authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Add more info to package_info in conanfile.py

parent 6f83c854
No related branches found
No related tags found
2 merge requests!61Release 0.3.0,!58Fix conan create on Windows
Pipeline #56370 passed with warnings
Pipeline: caosdb-cppinttest

#56372

    ......@@ -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")
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment