FindwxWidgets.cmake: Determine version even when not asked to

This commit is contained in:
Simon Richter 2016-02-15 18:50:48 +01:00
parent 029a3ba61e
commit f7d8a412cf
1 changed files with 1 additions and 1 deletions

View File

@ -858,7 +858,7 @@ else()
endif()
# Check if a specfic version was requested by find_package().
if(wxWidgets_FOUND AND wxWidgets_FIND_VERSION)
if(wxWidgets_FOUND)
find_file(_filename wx/version.h PATHS ${wxWidgets_INCLUDE_DIRS} NO_DEFAULT_PATH)
DBG_MSG("_filename: ${_filename}")