$OpenBSD: patch-CMakeLists_txt,v 1.6 2010/10/20 15:32:40 sthen Exp $
--- CMakeLists.txt.orig	Mon Aug 30 23:32:07 2010
+++ CMakeLists.txt	Sat Sep  4 21:51:34 2010
@@ -152,6 +152,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
