Skip to content

Commit d11d222

Browse files
nim65solivier-stasse
authored andcommitted
[CMake] set minimal cxx standard
as travis on 16.04 is failing on a std::shared_ptr
1 parent 9250493 commit d11d222

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ INCLUDE(cmake/sphinx.cmake)
3232
# Project definition
3333
COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
3434
PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
35+
CHECK_MINIMAL_CXX_STANDARD(11 ENFORCE)
3536

3637
# Project dependencies
3738
ADD_PROJECT_DEPENDENCY(dynamic-graph REQUIRED PKG_CONFIG_REQUIRES dynamic-graph)

0 commit comments

Comments
 (0)