diff --git a/root/interpreter/CMakeLists.txt b/root/interpreter/CMakeLists.txt index f0ffa6be..b2d00db4 100644 --- a/root/interpreter/CMakeLists.txt +++ b/root/interpreter/CMakeLists.txt @@ -1,7 +1,9 @@ -RB_ADD_GBENCHMARK(InterpreterBenchmarks - RunInterpreter.cxx - LABEL short) +if(NOT CMAKE_SYSTEM_NAME MATCHES Darwin) + RB_ADD_GBENCHMARK(InterpreterBenchmarks + RunInterpreter.cxx + LABEL short) -RB_ADD_GBENCHMARK(InterpreterBenchmarksNoPCH - RunInterpreterNoPCH.cxx - LABEL short) \ No newline at end of file + RB_ADD_GBENCHMARK(InterpreterBenchmarksNoPCH + RunInterpreterNoPCH.cxx + LABEL short) +endif() diff --git a/root/math/genvector/CMakeLists.txt b/root/math/genvector/CMakeLists.txt index 518ac1fd..7680a119 100644 --- a/root/math/genvector/CMakeLists.txt +++ b/root/math/genvector/CMakeLists.txt @@ -1,4 +1,6 @@ -RB_ADD_GBENCHMARK(GenVectorBenchmarks - Cartesian3DBenchmarks.cxx - LABEL short - LIBRARIES GenVector MathCore) +if(NOT CMAKE_SYSTEM_NAME MATCHES Darwin) + RB_ADD_GBENCHMARK(GenVectorBenchmarks + Cartesian3DBenchmarks.cxx + LABEL short + LIBRARIES GenVector MathCore) +endif() \ No newline at end of file