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

Commit 69e038b

Browse files
committed
small fixes
1 parent 2450aeb commit 69e038b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

CMakeLists.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
cmake_minimum_required (VERSION 2.8)
2-
project (interview_rapyuta)
2+
project (unit_test_example)
33

4-
# Use C++11
4+
# 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+
add_definitions(-std=c++11)
10+
811
##############
912
# External Library
1013
##############
@@ -16,11 +19,11 @@ enable_testing()
1619

1720
# Include the gtest library.
1821
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
19-
22+
2023
##############
2124
# Executables
2225
##############
23-
26+
2427
add_executable (main src/sorting_and_searching.cpp)
2528

2629
##############

0 commit comments

Comments
 (0)