Skip to content

Commit

Permalink
Enable zpeak benchmark only with cxx standard greater 14
Browse files Browse the repository at this point in the history
  • Loading branch information
stwunsch committed Jul 17, 2020
1 parent e6ee302 commit 1d4b208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/tree/dataframe/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ endif()

add_subdirectory(LoopSUSYFrame)

if(rootbench-datafiles AND ROOT_root7_FOUND) # using ROOT_root7_FOUND as a proxy for "c++ standard >= 14"
if(rootbench-datafiles AND ((CMAKE_CXX_FLAGS STRLESS_EQUAL "-std=c++17") OR (CMAKE_CXX_STANDARD GREATER 14)))
RB_ADD_GBENCHMARK(ZPeak
zpeak.cxx
LIBRARIES Core Hist Imt RIO MathCore Physics Tree TreePlayer ROOTDataFrame ROOTVecOps
Expand Down

0 comments on commit 1d4b208

Please sign in to comment.