diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-08-24 23:28:52 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-08-24 23:28:52 -0700 |
commit | 4b7c5e2455c9312a11a6f93678e99b774df00c31 (patch) | |
tree | 2d12a9529227ceb245169468a05c6eacbe58cbf2 /CMakeLists.txt | |
parent | 8c339bb4bd58f21063b41ba797bf513e13f4f576 (diff) |
Fixed CMake build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a70ccf5d..bbdf85dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,10 @@ cmake_minimum_required (VERSION 2.6) project (mailcore2) +IF(APPLE) + set(CMAKE_CXX__FLAGS "-std=c++11 -stdlib=libc++") + set(CMAKE_EXE_LINKER_FLAGS "-lc++ -stdlib=libc++") +ENDIF() + add_subdirectory (src) +add_subdirectory (tests) |