cmake: warning message when python3 is not found

This commit is contained in:
Luis Díaz Más
2022-02-09 17:37:55 +01:00
parent 3e0a5b97a3
commit 40a59abef8
+3
View File
@@ -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)