Keep path for .so files, as to prevent overwriting.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2019-12-28 14:58:09 +01:00
parent 2310dc241a
commit d266700822
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 5 deletions

View File

@ -24,11 +24,7 @@ class CreatureLibConan(ConanFile):
def package(self): def package(self):
self.copy("*.hpp", dst="include", src="src") self.copy("*.hpp", dst="include", src="src")
self.copy("*.lib", dst="lib", keep_path=False) self.copy("*.so", dst="lib", keep_path=True)
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)
def package_info(self): def package_info(self):
self.cpp_info.libs = ["CreatureLibCore", "CreatureLibLibrary", "CreatureLibBattling"] self.cpp_info.libs = ["CreatureLibCore", "CreatureLibLibrary", "CreatureLibBattling"]