Edit CMakeList.txt

This commit is contained in:
Daniel Chappuis 2018-04-04 22:01:10 +02:00
parent 95fdd7e056
commit a6eabb61a5

View File

@ -52,7 +52,7 @@ IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
ENDIF()
IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
ENDIF()
# Headers