Edit CMakeList.txt

This commit is contained in:
Daniel Chappuis 2018-04-05 07:13:35 +02:00
parent 5e7f37c1f8
commit b3ebfb7d1e

View File

@ -51,9 +51,9 @@ IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
ENDIF()
ENDIF()
IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
ENDIF()
#IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
#ENDIF()
# Headers
INCLUDE_DIRECTORIES(src)