mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Check that both pyside2 and shiboken2 are found
* It seems like packaging of these two is inconsistent, and pyside2 dev files being available doesn't always imply shiboken2 dev files are present. Be safe and check both.
This commit is contained in:
@@ -215,7 +215,7 @@ if(NOT BUILD_VERSION_DIST_CONTACT STREQUAL "")
|
||||
"DEFINES+=DISTRIBUTION_CONTACT='\\\\\"${BUILD_VERSION_DIST_CONTACT}\\\\\"'\n")
|
||||
endif()
|
||||
|
||||
if(PySide2_FOUND)
|
||||
if(PySide2_FOUND AND Shiboken2_FOUND)
|
||||
message(STATUS "Building with PySide2 ${PySide2_VERSION} from ${PySide2_DIR}")
|
||||
|
||||
get_target_property(SHIBOKEN2_INCLUDE_DIRS Shiboken2::libshiboken INTERFACE_INCLUDE_DIRECTORIES)
|
||||
|
||||
Reference in New Issue
Block a user