Fix a minor bug in FindwxWidgets.cmake version.h path search.

This commit is contained in:
Wayne Stambaugh 2014-09-30 18:43:20 -04:00
parent e617c5e6b1
commit 21ca86573f
1 changed files with 1 additions and 1 deletions

View File

@ -857,7 +857,7 @@ endif(wxWidgets_FIND_STYLE STREQUAL "win32")
# Check if a specfic version was requested by find_package().
if(wxWidgets_FOUND AND wxWidgets_FIND_VERSION)
find_file(_filename wx/version.h PATHS ${wxWidgets_INCLUDE_DIRS})
find_file(_filename wx/version.h PATHS ${wxWidgets_INCLUDE_DIRS} NO_DEFAULT_PATH)
dbg_msg("_filename: ${_filename}")
if(NOT _filename)