kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23096
[PATCH 08/19] FindwxWidgets.cmake: Look for versioned wx-config scripts
---
CMakeModules/FindwxWidgets.cmake | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeModules/FindwxWidgets.cmake b/CMakeModules/FindwxWidgets.cmake
index e2b46db..a48a315 100644
--- a/CMakeModules/FindwxWidgets.cmake
+++ b/CMakeModules/FindwxWidgets.cmake
@@ -707,7 +707,8 @@ else()
# UNIX: Start actual work.
#-----------------------------------------------------------------
# Support cross-compiling, only search in the target platform.
- find_program(wxWidgets_CONFIG_EXECUTABLE wx-config
+ find_program(wxWidgets_CONFIG_EXECUTABLE
+ NAMES wx-config wx-config-3.1 wx-config-3.0 wx-config-2.9 wx-config-2.8
ONLY_CMAKE_FIND_ROOT_PATH
)
Follow ups
References