Browse Source

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 years ago
parent
commit
80e4a96d9b
1 changed files with 1 additions and 1 deletions
  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):