mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Make Shiboken2/PySide2 searches QUIET to avoid scary warnings
* By default cmake will print huge scary warnings if the packages aren't available instead of silently continuing and letting us check, which is a bad default for optional packages.
This commit is contained in:
@@ -128,11 +128,8 @@ ExternalProject_Add(custom_swig
|
||||
BUILD_COMMAND ${GENERATOR_MAKE} > /dev/null 2>&1
|
||||
INSTALL_COMMAND ${GENERATOR_MAKE} install > /dev/null 2>&1)
|
||||
|
||||
# Lastly find PySide 2, optionally, for Qt5 Python bindings
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
find_package(Shiboken2)
|
||||
find_package(PySide2)
|
||||
find_package(Shiboken2 QUIET)
|
||||
find_package(PySide2 QUIET)
|
||||
|
||||
set(PYTHON_LINK "${PYTHON_LIBRARY}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user