From 45d58fbefc7956c6eb706291503b74641e6d941e Mon Sep 17 00:00:00 2001 From: Mark Roszko Date: Sat, 30 Apr 2022 17:53:57 +0000 Subject: [PATCH] Remove errant phoenix message when disabled --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b4bae56761..bb6be63317 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -848,9 +848,11 @@ if( UNIX AND NOT APPLE AND KICAD_SCRIPTING_WXPYTHON ) endif() endif() -message( STATUS "Found ${WXPYTHON_FLAVOR} " - "${WXPYTHON_VERSION}/${WXPYTHON_TOOLKIT} " - "(wxWidgets ${WXPYTHON_WXVERSION})" ) +if( WXPYTHON_FLAVOR ) + message( STATUS "Found wxPython ${WXPYTHON_FLAVOR} " + "${WXPYTHON_VERSION}/${WXPYTHON_TOOLKIT} " + "(wxWidgets ${WXPYTHON_WXVERSION})" ) +endif() # # Find wxWidgets library, required