mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
@@ -751,7 +751,7 @@ else()
|
||||
#-----------------------------------------------------------------
|
||||
# Support cross-compiling, only search in the target platform.
|
||||
find_program(wxWidgets_CONFIG_EXECUTABLE
|
||||
NAMES wx-config wx-config-3.1 wx-config-3.0 wx-config-2.9 wx-config-2.8
|
||||
NAMES $ENV{WX_CONFIG} wx-config wx-config-3.1 wx-config-3.0 wx-config-2.9 wx-config-2.8
|
||||
DOC "Location of wxWidgets library configuration provider binary (wx-config)."
|
||||
ONLY_CMAKE_FIND_ROOT_PATH
|
||||
)
|
||||
@@ -964,8 +964,9 @@ find_package_handle_standard_args(wxWidgets
|
||||
#=====================================================================
|
||||
|
||||
# Resource file compiler.
|
||||
find_program(wxWidgets_wxrc_EXECUTABLE wxrc
|
||||
${wxWidgets_ROOT_DIR}/utils/wxrc/vc_msw
|
||||
find_program(wxWidgets_wxrc_EXECUTABLE
|
||||
NAMES $ENV{WXRC_CMD} wxrc
|
||||
PATHS ${wxWidgets_ROOT_DIR}/utils/wxrc/vc_msw
|
||||
DOC "Location of wxWidgets resource file compiler binary (wxrc)"
|
||||
)
|
||||
|
||||
|
||||
@@ -617,7 +617,8 @@ else()
|
||||
|
||||
# wx-config should be in your path anyhow, usually no need to set WXWIN or
|
||||
# search in ../wx or ../../wx
|
||||
find_program(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE wx-config
|
||||
find_program(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE
|
||||
NAMES $ENV{WX_CONFIG} wx-config
|
||||
HINTS
|
||||
ENV WXWIN
|
||||
$ENV{WXWIN}/bin
|
||||
|
||||
Reference in New Issue
Block a user