diff options
author | archshift <admin@archshift.com> | 2014-04-30 23:47:38 -0700 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-30 23:47:38 -0700 |
commit | 7817d6c79a2c169eb90714c1a05745d208e8ad32 (patch) | |
tree | ae12037360cc0a3a21d36127960f4cba8cc91b96 /CMakeLists.txt | |
parent | 704075f04a8adda82141f3c68addfd6c34a08765 (diff) |
Support for C++11 on OSX
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6837d36f..07a04c2c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,9 +21,8 @@ pkg_search_module(GLFW REQUIRED glfw3) IF (APPLE) FIND_LIBRARY(COREFOUNDATION_LIBRARY CoreFoundation) - SET(CMAKE_CXX_FLAGS "-stdlib=libc++") - SET(CMAKE_CXX_FLAGS_DEBUG "-stdlib=libc++") - SET(CMAKE_CXX_FLAGS_RELEASE "-stdlib=libc++") + SET(CMAKE_CXX_FLAGS "-stdlib=libc++") + SET(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++") ENDIF (APPLE) #external includes |