Skip to content

Commit

Permalink
Updated main CMakeLists with modern CMake syntax for required C++11 s…
Browse files Browse the repository at this point in the history
…tandard
  • Loading branch information
greenjava committed Mar 2, 2016
1 parent 1707a1c commit 00aa1e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ cmake_minimum_required(VERSION 2.6)
# set project's name
project(CAMP)

# require C++11 standard by default
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# include project configuration
include(${CMAKE_SOURCE_DIR}/cmake/Config.cmake)
include(${CMAKE_SOURCE_DIR}/cmake/PackageFilename.cmake)
Expand Down

0 comments on commit 00aa1e4

Please sign in to comment.