Don't force libc++ with clang (#1984)

Clang works with libstdc++.
This commit is contained in:
aeubanks
2020-04-30 13:24:58 -07:00
committed by GitHub
parent e16017bd1a
commit bbafb49b3a
4 changed files with 0 additions and 16 deletions
-3
View File
@@ -32,7 +32,4 @@ elseif(APPLE)
sm_add_compile_flag("cppformat" "-stdlib=libc++")
else() # Unix
sm_add_compile_flag("cppformat" "-std=${SM_CPP_STANDARD}")
if(CMAKE_CXX_COMPILER MATCHES "clang")
sm_add_compile_flag("cppformat" "-stdlib=libc++")
endif()
endif()