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.
This commit is contained in:
parent
f628cac5b0
commit
36c15a2f0b
|
@ -188,7 +188,7 @@ IF(EXISTS "${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake")
|
||||||
SET(wxWidgets_USE_FILE
|
SET(wxWidgets_USE_FILE
|
||||||
"${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake")
|
"${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake")
|
||||||
ELSE(EXISTS "${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")
|
ENDIF(EXISTS "${wxWidgets_CURRENT_LIST_DIR}/UsewxWidgets.cmake")
|
||||||
|
|
||||||
#=====================================================================
|
#=====================================================================
|
||||||
|
|
Loading…
Reference in New Issue