diff --git a/cmake/findDependencies.cmake b/cmake/findDependencies.cmake index 2527133f..f730c094 100644 --- a/cmake/findDependencies.cmake +++ b/cmake/findDependencies.cmake @@ -12,6 +12,9 @@ else() endif() find_package (Python3 COMPONENTS Interpreter) +if (NOT Python3_Interpreter_FOUND) + message(WARNING "Python3 was not found. Python tests under the 'tests' folder will not be executed") +endif() # don't use Frameworks on the Mac (#966) if (APPLE)