$OpenBSD: patch-CMakeLists_txt,v 1.7 2011/05/30 09:06:28 sthen Exp $
--- CMakeLists.txt.orig	Sun Feb 27 23:42:41 2011
+++ CMakeLists.txt	Mon Feb 28 08:23:05 2011
@@ -151,6 +151,7 @@ ENDIF(WIN32)
 #  This must come before FINDs for tiff, jpeg, png, zlib to enable
 #  finding the wxWidgets distributions of those packages (Win32 only).
 SET(wxWidgets_USE_LIBS base core aui 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
