Setup conan compiler.libcxx correctly
This commit is contained in:
parent
7f6bbffc40
commit
3fdbda832c
@ -1,9 +1,16 @@
|
||||
macro(setup_conan)
|
||||
include(cmake-utils/conan.cmake)
|
||||
|
||||
conan_cmake_run(
|
||||
CONANFILE conanfile.py
|
||||
BUILD missing)
|
||||
if(MSVC)
|
||||
conan_cmake_run(
|
||||
CONANFILE conanfile.py
|
||||
BUILD missing)
|
||||
else()
|
||||
conan_cmake_run(
|
||||
CONANFILE conanfile.py
|
||||
BUILD missing
|
||||
SETTINGS compiler.libcxx=libstdc++11)
|
||||
endif()
|
||||
conan_basic_setup(TARGETS SKIP_STD)
|
||||
|
||||
if(CONAN_SETTINGS_COMPILER_LIBCXX STREQUAL "libstdc++")
|
||||
|
Loading…
Reference in New Issue
Block a user