Workaround conan issue that downloads packages built with libstdc++ instead of libstdc++11

This commit is contained in:
Sebastian Messmer 2020-06-29 01:13:22 -07:00
parent f179b8c4a4
commit 93b1b3d684

View File

@ -8,7 +8,9 @@ macro(setup_conan)
else()
conan_cmake_run(
CONANFILE conanfile.py
BUILD missing
# We'd like to use "BUILD missing" but that doesn't work because conan sometimes seems to download prebuilt packages with compiler.libcxx=libstdc++ even though we specify compiler.libcxx=libstdc++11.
# see https://github.com/cryfs/cryfs/issues/336 and https://github.com/conan-io/conan/issues/7264
BUILD all
SETTINGS compiler.libcxx=libstdc++11)
endif()
conan_basic_setup(TARGETS SKIP_STD)