Skip to content
Snippets Groups Projects
Commit 45cf1d03 authored by Sergey Linev's avatar Sergey Linev Committed by Axel Naumann
Browse files

cmake: enforce c++14 when enabling root7

parent 4a7c0db4
No related branches found
No related tags found
No related merge requests found
......@@ -301,6 +301,12 @@ endif()
#---Define at moment the options with the selected default values-----------------------------
ROOT_APPLY_OPTIONS()
if(root7)
if(NOT CMAKE_CXX_STANDARD GREATER 11)
set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to be used")
endif()
endif()
#---check if webui can be build-------------------------------
if(webui)
if(NOT CMAKE_CXX_STANDARD GREATER 11)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment