Skip to content

Commit

Permalink
detect libcxx in clang
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded committed Nov 28, 2017
1 parent cbb26f4 commit 9986ecd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ function(conan_cmake_settings result)
set(_SETTINGS ${_SETTINGS} -s compiler=clang -s compiler.version=${MAJOR}.${MINOR} -s compiler.libcxx=libstdc++)
endif()
else()
set(_SETTINGS ${_SETTINGS} -s compiler=clang -s compiler.version=${MAJOR}.${MINOR} -s compiler.libcxx=libstdc++)
conan_cmake_detect_gnu_libcxx(_LIBCXX)
set(_SETTINGS ${_SETTINGS} -s compiler=clang -s compiler.version=${MAJOR}.${MINOR} -s compiler.libcxx=${_LIBCXX})
endif()
elseif(${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)
set(_VISUAL "Visual Studio")
Expand Down

0 comments on commit 9986ecd

Please sign in to comment.