1 2 3 4 5 6 7 8 9 10 11
--- CMakeLists.txt.orig 2025-05-23 15:52:11 UTC +++ CMakeLists.txt @@ -238,7 +238,7 @@ endif() add_subdirectory(test) endif() -if (NOT CMAKE_CROSSCOMPILING) +if (FREEBSD_BUILD_BENCHMARKS AND NOT CMAKE_CROSSCOMPILING) add_subdirectory(benchmark) endif()