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