mirror of
https://github.com/apache/nuttx.git
synced 2026-05-10 07:18:49 +08:00
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:
+4
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user