From 80e4a96d9b0ec4c73c2975ff8ba5ba7b2367a655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A4r=20Winzell?= Date: Sat, 11 May 2019 15:08:35 -0700 Subject: [PATCH] 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. --- conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index 4e13ccf..e8db1a4 100644 --- a/conanfile.py +++ b/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):