mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +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 Python 3 interpreter
|
||||||
|
|
||||||
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
find_package(
|
||||||
|
Python3 REQUIRED
|
||||||
|
COMPONENTS Interpreter
|
||||||
|
QUIET)
|
||||||
if(NOT Python3_Interpreter_FOUND)
|
if(NOT Python3_Interpreter_FOUND)
|
||||||
message(FATAL_ERROR "Did NOT find Python interpreter.")
|
message(FATAL_ERROR "Did NOT find Python interpreter.")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user