$OpenBSD: patch-CMakeLists_txt,v 1.3 2009/06/03 13:45:14 sthen Exp $ --- CMakeLists.txt.orig Mon Jun 1 21:56:11 2009 +++ CMakeLists.txt Wed Jun 3 02:22:10 2009 @@ -106,6 +106,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 @@ -246,6 +247,7 @@ ENDIF(${CMAKE_BUILD_TYPE} STREQUAL "Debug") SET(HUGINDATADIR share/hugin) SET(DATADIR share) SET(BINDIR bin) +SET(MANDIR man) SET(LOCALEDIR share/locale) SET(ICONDIR share/icons) SET(LINKDIR share/applications)