diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 24f91fd04..98d5bfc67 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -93,8 +93,8 @@ endif() if(ENABLE_TESTING) add_subdirectory(tests) -endif() -if(benchmark_FOUND) - add_subdirectory(benchmarks) + if(benchmark_FOUND) + add_subdirectory(benchmarks) + endif() endif()