1 From 0871db30bd73d112a434f54572d34cca28de61c5 Mon Sep 17 00:00:00 2001
2 From: fis <ybbs.daans@hotmail.com>
3 Date: Sat, 26 May 2018 22:58:37 +0800
4 Subject: [PATCH 2/2] * CMakeLists.txt: Fix flags for gcc.
7 CMakeLists.txt | 18 ++----------------
8 1 file changed, 2 insertions(+), 16 deletions(-)
10 diff --git a/CMakeLists.txt b/CMakeLists.txt
11 index eba147b..d60dcef 100644
14 @@ -6,20 +6,6 @@ add_executable(unit src/fifo_map.hpp test/unit.cpp)
16 target_include_directories(unit PRIVATE "test" "src")
22 +set(CMAKE_CXX_FLAGS "-std=c++11 -fpermissive")
24 - STRING(REPLACE "/O2" "/Od" CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE})
26 - add_definitions(-D_SCL_SECURE_NO_WARNINGS)
29 - "-std=c++11 -stdlib=libc++"
36 +include_directories(src test)