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:
parent
6b8490a6ae
commit
80e4a96d9b
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue