summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMiguel A. Figueroa-Villanueva <miguelf@ieee.org>2010-09-01 04:15:07 (GMT)
committerMiguel A. Figueroa-Villanueva <miguelf@ieee.org>2010-09-01 04:15:07 (GMT)
commit36c15a2f0bc0107074019901f3208891667a4546 (patch)
treef0aee09bf3891979b89df1910169dd783a47d97e /Modules
parentf628cac5b0c7a893016ead2cf2447129b813a066 (diff)
downloadCMake-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')
-rw-r--r--Modules/FindwxWidgets.cmake2
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")
#=====================================================================