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.
This commit is contained in:
Pär Winzell 2019-05-11 15:08:35 -07:00
parent 6b8490a6ae
commit 80e4a96d9b
1 changed files with 1 additions and 1 deletions

View File

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