From 453f49235ce28c1701da8d5d7b34130c9ea852a9 Mon Sep 17 00:00:00 2001 From: Bernd Waibel Date: Tue, 21 Feb 2023 21:01:41 +0100 Subject: [PATCH] properly report Shiboken and PySide if found The patch fixes a small issue, with the PrintFinalReport macro, where Shiboken and PySide where not properly reported. Closes: https://github.com/FreeCAD/FreeCAD/issues/8573 Signed-off-by: Bernd Waibel --- cMake/FreeCAD_Helpers/PrintFinalReport.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cMake/FreeCAD_Helpers/PrintFinalReport.cmake b/cMake/FreeCAD_Helpers/PrintFinalReport.cmake index de4c2ff5cf..d248210bc5 100644 --- a/cMake/FreeCAD_Helpers/PrintFinalReport.cmake +++ b/cMake/FreeCAD_Helpers/PrintFinalReport.cmake @@ -148,8 +148,8 @@ macro(PrintFinalReport) else() simple(QtWebKitWidgets "not needed") endif() - conditional(Shiboken Shiboken_FOUND "not found" "${SHIBOKEN_VERSION} Base: [${SHIBOKEN_BASEDIR}]") - conditional(PySide PySide_FOUND "not found" "${PYSIDE_VERSION} [${PYSIDE_INCLUDE_DIR}]") + conditional(Shiboken Shiboken${SHIBOKEN_MAJOR_VERSION}_FOUND "not found" "${Shiboken_VERSION} [${SHIBOKEN_INCLUDE_DIR}]") + conditional(PySide PySide${PYSIDE_MAJOR_VERSION}_FOUND "not found" "${PySide_VERSION} [${PYSIDE_INCLUDE_DIR}]") conditional(PySideTools PYSIDE_TOOLS_FOUND "not found" "v: ${PySideTools_VERSION} uic: [${PYSIDE_UIC_EXECUTABLE}] rcc: [${PYSIDE_RCC_EXECUTABLE}]"