Further fixes in the hope of fixing conan.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-07-12 14:50:22 +02:00
parent ab7504e79a
commit 23bbd45d92
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ class ArbutilsConan(ConanFile):
self.output.info("Linking C libraries statically.")
cmake.definitions["STATICC"] = "On"
if self.settings.compiler == "wclang":
cmake.definitions["CMAKE_C_COMPILER"] = "/home/wclang/x86_64-w64-mingw32/bin/x86_64-w64-mingw32-clang"
cmake.definitions["CMAKE_CXX_COMPILER"] = "/home/wclang/x86_64-w64-mingw32/bin/x86_64-w64-mingw32-clang++"
cmake.configure()
self.output.info("running `cmake " + cmake.command_line + "`")
cmake.build()