From 21ca86573f2e3521415016381c3b5336fc3f0450 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Tue, 30 Sep 2014 18:43:20 -0400 Subject: [PATCH] Fix a minor bug in FindwxWidgets.cmake version.h path search. --- CMakeModules/FindwxWidgets.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeModules/FindwxWidgets.cmake b/CMakeModules/FindwxWidgets.cmake index 4bcc9caebe..99a0236c09 100644 --- a/CMakeModules/FindwxWidgets.cmake +++ b/CMakeModules/FindwxWidgets.cmake @@ -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)