Skip to content

Commit

Permalink
Merge pull request JeffersonLab#13 from omar-moreno/iss12
Browse files Browse the repository at this point in the history
Require the use of the C++14 standard.
  • Loading branch information
omar-moreno authored Mar 21, 2019
2 parents ca1d8ec + ed1206e commit 8b3dce1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# minimum cmake version
cmake_minimum_required(VERSION 3.0)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_C_STANDARD 14)
set(CMAKE_C_STANDARD_REQUIRED ON)


if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
set(CMAKE_CXX_FLAGS_RELEASE "-O3")

# find the LCIO directory
if (LCIO_DIR)
set(LCIO_INCLUDE_DIR "${LCIO_DIR}/include")
Expand Down

0 comments on commit 8b3dce1

Please sign in to comment.