Further tweaks for Conan
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-01-01 15:36:55 +01:00
parent 5f336a7211
commit 79d2f543fb
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 4 deletions

View File

@ -28,10 +28,8 @@ class CreatureLibConan(ConanFile):
def package(self): def package(self):
self.copy("*.hpp", dst="include", src="src") self.copy("*.hpp", dst="include", src="src")
if self.settings.os == "Windows": self.copy("*.dll", dst="bin")
self.copy("*.dll", dst="lib", keep_path=True) self.copy("*.so", dst="lib")
else:
self.copy("*.so", dst="lib", keep_path=True)
def package_info(self): def package_info(self):
self.cpp_info.libs = ["CreatureLibCore", "CreatureLibLibrary", "CreatureLibBattling"] self.cpp_info.libs = ["CreatureLibCore", "CreatureLibLibrary", "CreatureLibBattling"]