瀏覽代碼

Constrain our GCC build tweak to GCC.

Only for GCC (5.*) is it necessary to instruct the compiler to avoid
falling back on a very old libstd ABI.
Pär Winzell 6 年之前
父節點
當前提交
80e4a96d9b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      conanfile.py

+ 1 - 1
conanfile.py

@@ -13,7 +13,7 @@ class FBX2glTFConan(ConanFile):
     generators = "cmake_find_package", "cmake_paths"
 
     def configure(self):
-        if self.settings.compiler.libcxx == "libstdc++":
+        if self.settings.compiler == "gcc" and self.settings.libcxx == "libstdc++":
             raise Exception("Rerun 'conan install' with argument: '-s compiler.libcxx=libstdc++11'")
 
     def build(self):