修复内存检测的bug

This commit is contained in:
2024-12-03 18:38:56 +08:00
parent f2a470c59d
commit c43236aa58
4 changed files with 32 additions and 26 deletions

View File

@@ -104,4 +104,10 @@ class LatchRecipe(ConanFile):
)
def package_info(self):
self.cpp_info.libs = ["latch"]
self.cpp_info.components["latch"].libs = ["latch"]
self.cpp_info.components["latch"].set_property("pkg_config_name", "latch")
self.cpp_info.components["latch_debug"].libs = ["latch_debug"]
self.cpp_info.components["latch_debug"].set_property(
"pkg_config_name", "latch_debug"
)