FindwxWidgets.cmake: documentation for variables

This commit is contained in:
Simon Richter 2016-02-15 18:50:48 +01:00
parent bbd0c539e9
commit 51a1588456
1 changed files with 5 additions and 3 deletions

View File

@ -464,7 +464,7 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
wxWidgets-2.5.2 wxWidgets-2.5.2
wxWidgets-2.5.1 wxWidgets-2.5.1
wxWidgets wxWidgets
DOC "wxWidgets base/installation directory?" DOC "wxWidgets base/installation directory"
) )
# If wxWidgets_ROOT_DIR changed, clear lib dir. # If wxWidgets_ROOT_DIR changed, clear lib dir.
@ -498,7 +498,7 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
PATHS PATHS
${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_dll # prefer shared ${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_dll # prefer shared
${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_lib ${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_lib
DOC "Path to wxWidgets libraries?" DOC "Path to wxWidgets libraries"
NO_DEFAULT_PATH NO_DEFAULT_PATH
) )
else() else()
@ -515,7 +515,7 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
PATHS PATHS
${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_lib # prefer static ${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_lib # prefer static
${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_dll ${WX_ROOT_DIR}/lib/${WX_LIB_DIR_PREFIX}_dll
DOC "Path to wxWidgets libraries?" DOC "Path to wxWidgets libraries"
NO_DEFAULT_PATH NO_DEFAULT_PATH
) )
endif() endif()
@ -710,6 +710,7 @@ else()
# Support cross-compiling, only search in the target platform. # Support cross-compiling, only search in the target platform.
find_program(wxWidgets_CONFIG_EXECUTABLE 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 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 ONLY_CMAKE_FIND_ROOT_PATH
) )
@ -913,6 +914,7 @@ find_package_handle_standard_args(wxWidgets
# Resource file compiler. # Resource file compiler.
find_program(wxWidgets_wxrc_EXECUTABLE wxrc find_program(wxWidgets_wxrc_EXECUTABLE wxrc
${wxWidgets_ROOT_DIR}/utils/wxrc/vc_msw ${wxWidgets_ROOT_DIR}/utils/wxrc/vc_msw
DOC "Location of wxWidgets resource file compiler binary (wxrc)"
) )
# #