mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 08:37:09 +00:00
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
|
||||
"${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")
|
||||
|
||||
#=====================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user