Adding warning message.

This commit is contained in:
Daniel Lemire 2020-06-24 19:23:02 -04:00
parent 515b87bcbe
commit 29e744fdbb
1 changed files with 5 additions and 1 deletions

View File

@ -93,5 +93,9 @@ if (SIMDJSON_IS_UNDER_GIT AND Git_FOUND AND (GIT_VERSION_STRING VERSION_GREATER
set_property(TEST checkperf APPEND PROPERTY DEPENDS parse perfdiff ${SIMDJSON_USER_CMAKECACHE})
set_property(TEST checkperf PROPERTY RUN_SERIAL TRUE)
else()
message(STATUS "Either git is unavailable or else it is too old. We are disabling checkperf targets.")
if (CMAKE_GENERATOR MATCHES Ninja)
message(STATUS "We disable the checkperf targets under Ninja.")
else()
message(STATUS "Either git is unavailable or else it is too old. We are disabling checkperf targets.")
endif()
endif ()