Skip to content

Commit ed3bfd2

Browse files
authored
Merge pull request #76 from rnburn/master
Minor fixes to CMakeLists.txt.
2 parents 0366315 + 24c4ceb commit ed3bfd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.0)
1+
cmake_minimum_required(VERSION 3.1)
22

33
project(lightstep-tracer)
44

@@ -38,6 +38,7 @@ option(ENABLE_LINTING "Run clang-tidy on sources if available." ON)
3838
# Configure compiler warnings
3939

4040
set(CMAKE_CXX_STANDARD 11)
41+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
4142
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
4243
set(WARNING_CXX_FLAGS -Weverything
4344
-Wno-c++98-compat

0 commit comments

Comments
 (0)