Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 29aeb58

Browse files
committed
jaf
1 parent 2547412 commit 29aeb58

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
cmake_minimum_required (VERSION 3.1)
1+
cmake_minimum_required (VERSION 2.8)
22
project (unit_test_example)
33

44
# Use C++11 : cmake >= 3.1
55
set(CMAKE_CXX_STANDARD 11)
66
set(CMAKE_CXX_STANDARD_REQUIRED ON)
77

8+
# Use C++11 : cmake <=3.1
9+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
10+
11+
812
##############
913
# External Library
1014
##############

0 commit comments

Comments
 (0)