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()