Unverified Commit 569ef63e authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

CMake: Force requirment of C++ 14 standard

parent 10fd87e1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@ if(NOT CMAKE_COMPILER_IS_GNUCXX)
endif()

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

if (NOT CMAKE_BUILD_TYPE)
    SET(CMAKE_BUILD_TYPE Release
            CACHE STRING "Choose the type of build: Debug Release Memcheck