Эх сурвалжийг харах

Fix variable use in ls-std recipe

Patrick-Christopher Mattulat 3 жил өмнө
parent
commit
647d1a15c0

+ 2 - 2
recipes/ls-std/conanfile.py

@@ -20,11 +20,11 @@ class LsStdConan(ConanFile):
 
     def package(self):
         self.copy("*.hpp", dst="include", src="ls-standard-library/include")
-        self.copy("*ls_std_2021.1.0_static.lib", dst="lib", keep_path=False)
+        self.copy("*ls_std_" + self.version + "_static.lib", dst="lib", keep_path=False)
         self.copy("*.dll", dst="bin", keep_path=False)
         self.copy("*.so", dst="lib", keep_path=False)
         self.copy("*.dylib", dst="lib", keep_path=False)
         self.copy("*.a", dst="lib", keep_path=False)
 
     def package_info(self):
-        self.cpp_info.libs = ["ls_std_2021.1.0_static"]
+        self.cpp_info.libs = ["ls_std_" + self.version + "_static"]