瀏覽代碼

Merge topic 'FindwxWidgets-versioned-executable'

1b04561e FindwxWidgets: Search for wx-config-3.0 in addition to wx-config (#15540)
Brad King 10 年之前
父節點
當前提交
088d27c38b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Modules/FindwxWidgets.cmake

+ 1 - 1
Modules/FindwxWidgets.cmake

@@ -740,7 +740,7 @@ 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 wx-config wx-config-3.0
       DOC "Location of wxWidgets library configuration provider binary (wx-config)."
       ONLY_CMAKE_FIND_ROOT_PATH
       )