소스 검색

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