1
0
Fork 0

Needs the -stdlib linker flag too.

This commit is contained in:
archshift 2014-04-25 16:40:57 -07:00
parent 0f9e399351
commit d094beb45a
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ macro(set_flags)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++11")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -std=c++11")
add_flags_cxx("-stdlib=libc++")
add_flags_lnk("-stdlib=libc++")
else()
add_flags_cxx("-pthread")
endif()