CMakeLists.txt: Added QUIET option for Python package search

The QUIET option turns off unnecessary informational messages.

Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
simbit18 2026-04-14 19:10:36 +02:00 committed by Lup Yuen Lee
parent d8872255e8
commit edd796bb27

View file

@ -55,7 +55,10 @@ endif()
# Find Python 3 interpreter
find_package(Python3 REQUIRED COMPONENTS Interpreter)
find_package(
Python3 REQUIRED
COMPONENTS Interpreter
QUIET)
if(NOT Python3_Interpreter_FOUND)
message(FATAL_ERROR "Did NOT find Python interpreter.")
endif()