From d26670082260d3eaab2126dc02c5e2fe674e0076 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 28 Dec 2019 14:58:09 +0100 Subject: [PATCH] Keep path for .so files, as to prevent overwriting. --- conanfile.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/conanfile.py b/conanfile.py index 768acba..0b27198 100644 --- a/conanfile.py +++ b/conanfile.py @@ -24,11 +24,7 @@ class CreatureLibConan(ConanFile): def package(self): self.copy("*.hpp", dst="include", src="src") - self.copy("*.lib", dst="lib", keep_path=False) - self.copy("*.dll", dst="bin", keep_path=False) - self.copy("*.dylib*", dst="lib", keep_path=False) - self.copy("*.so", dst="lib", keep_path=False) - self.copy("*.a", dst="lib", keep_path=False) + self.copy("*.so", dst="lib", keep_path=True) def package_info(self): self.cpp_info.libs = ["CreatureLibCore", "CreatureLibLibrary", "CreatureLibBattling"]