From 515b87bcbe95355d31c46547195a7354d96c16e0 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Wed, 24 Jun 2020 18:45:47 -0400 Subject: [PATCH] Disabling perfcheck for ninja --- benchmark/checkperf.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/checkperf.cmake b/benchmark/checkperf.cmake index 3a72b75a..6a05e7bc 100644 --- a/benchmark/checkperf.cmake +++ b/benchmark/checkperf.cmake @@ -7,7 +7,7 @@ # Clone the repository if it's not there find_package(Git QUIET) -if (SIMDJSON_IS_UNDER_GIT AND Git_FOUND AND (GIT_VERSION_STRING VERSION_GREATER "2.1.4")) # We use "-C" which requires a recent git +if (SIMDJSON_IS_UNDER_GIT AND Git_FOUND AND (GIT_VERSION_STRING VERSION_GREATER "2.1.4") AND (NOT CMAKE_GENERATOR MATCHES Ninja) ) # We use "-C" which requires a recent git message(STATUS "Git is available and it is recent. We are enabling checkperf targets.") # sync_git_repository(myrepo ...) creates two targets: # myrepo - if the repo does not exist, creates and syncs it against the origin branch