diff options
author | Miguel A. Figueroa-Villanueva <miguelf@ieee.org> | 2010-09-01 04:15:07 (GMT) |
---|---|---|
committer | Miguel A. Figueroa-Villanueva <miguelf@ieee.org> | 2010-09-01 04:15:07 (GMT) |
commit | 36c15a2f0bc0107074019901f3208891667a4546 (patch) | |
tree | f0aee09bf3891979b89df1910169dd783a47d97e /Modules/FindwxWidgets.cmake | |
parent | f628cac5b0c7a893016ead2cf2447129b813a066 (diff) | |
download | CMake-36c15a2f0bc0107074019901f3208891667a4546.zip CMake-36c15a2f0bc0107074019901f3208891667a4546.tar.gz CMake-36c15a2f0bc0107074019901f3208891667a4546.tar.bz2 |
BUG #10658: FindwxWidgets USE_FILE should not include .cmake extension.
The wxWidgets_USE_FILE variable to be used with the include command
should be set to UsewxWidgets; not UsewxWidgets.cmake.
Diffstat (limited to 'Modules/FindwxWidgets.cmake')
-rw-r--r-- | Modules/FindwxWidgets.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake index 90818bc..cbc3e4b 100644 --- a/Modules/FindwxWidgets.cmake +++ b/Modules/FindwxWidgets.cmake @@ -188,7 +188,7 @@ IF(EXISTS "${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake") SET(wxWidgets_USE_FILE "${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake") ELSE(EXISTS "${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake") - SET(wxWidgets_USE_FILE UsewxWidgets.cmake) + SET(wxWidgets_USE_FILE UsewxWidgets) ENDIF(EXISTS "${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake") #===================================================================== |