$OpenBSD: patch-CMakeLists_txt,v 1.5 2010/05/29 01:23:55 sthen Exp $
--- CMakeLists.txt.orig	Tue Mar  2 23:17:21 2010
+++ CMakeLists.txt	Sat May  8 10:00:46 2010
@@ -125,6 +125,7 @@ ENDIF(WIN32)
 #  finding the wxWidgets distributions of those packages (Win32 only).
 
 SET(wxWidgets_USE_LIBS base core xrc html xml adv gl net)
+SET(wxWidgets_INCLUDE_DIRS_NO_SYSTEM 1)
 FIND_PACKAGE(wxWidgets REQUIRED)
 
 # hugin requires wxwidgets 2.7.0 or above
