From 23bbd45d9202fc6c56b6da515e77fbebf9ebe32b Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 12 Jul 2020 14:50:22 +0200 Subject: [PATCH] Further fixes in the hope of fixing conan. --- conanfile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conanfile.py b/conanfile.py index 7f1f19e..ecaf7a2 100644 --- a/conanfile.py +++ b/conanfile.py @@ -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()