Skip to content

Commit 29e744f

Browse files
committed
Adding warning message.
1 parent 515b87b commit 29e744f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

benchmark/checkperf.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,9 @@ if (SIMDJSON_IS_UNDER_GIT AND Git_FOUND AND (GIT_VERSION_STRING VERSION_GREATER
9393
set_property(TEST checkperf APPEND PROPERTY DEPENDS parse perfdiff ${SIMDJSON_USER_CMAKECACHE})
9494
set_property(TEST checkperf PROPERTY RUN_SERIAL TRUE)
9595
else()
96-
message(STATUS "Either git is unavailable or else it is too old. We are disabling checkperf targets.")
96+
if (CMAKE_GENERATOR MATCHES Ninja)
97+
message(STATUS "We disable the checkperf targets under Ninja.")
98+
else()
99+
message(STATUS "Either git is unavailable or else it is too old. We are disabling checkperf targets.")
100+
endif()
97101
endif ()

0 commit comments

Comments
 (0)