From e315c92fdcf7718f34d49b3080be7697b80f3c78 Mon Sep 17 00:00:00 2001 From: Kasper Peeters Date: Fri, 27 Sep 2024 21:47:02 +0100 Subject: [PATCH] Fail early if python not found. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b0854642c5..fb6d3892a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -300,6 +300,7 @@ if(WIN32) OUTPUT_VARIABLE PYTHON_HINT OUTPUT_STRIP_TRAILING_WHITESPACE ) + message(STATUS "Using Python hint ${PYTHON_HINT}") find_package(Python REQUIRED COMPONENTS Interpreter Development HINTS ${PYTHON_HINT}) else() find_package(Python REQUIRED COMPONENTS Interpreter Development)