From 4a5e740693d46e35c79fad7a44c6ad06629a8adb Mon Sep 17 00:00:00 2001 From: Jacky_Yin Date: Sun, 12 Sep 2021 13:16:55 +0800 Subject: [PATCH] chore: add WARNING for testsuite and benchmark --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38052eace..bba69d3cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -364,6 +364,8 @@ if (LUA_FOUND AND PYTHONINTERP_FOUND) DEPENDS testrunner WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMENT "Running benchmark.") +else () + message(WARNING "Lua or Python3 not found, skip target testsuite and benchmark.") endif() add_subdirectory(src)