From d1dddd8758dc3961c69bb36feabadbde45097d48 Mon Sep 17 00:00:00 2001 From: Neargye Date: Mon, 6 Aug 2018 19:38:14 +0500 Subject: [PATCH] test --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0713a46..63bbcca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) if((CMAKE_CXX_COMPILER_ID MATCHES "GNU") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang")) + add_compile_options(-stdlib=libc++) add_compile_options(-Wall -Wextra -pedantic-errors) elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") add_compile_options(/W4)