On Thu, Jul 02, 2009 at 09:15:33AM +0200, Florent Teichteil wrote:
> I tried message(STATUS "${wxWidgets_INCLUDE_DIRS}") that adds a 
> semicolon between the paths. 

Right. In CMake, lists are just semicolon-delimited strings. When you
pass that variable to include_directories(), CMake will understand how
to handle it correctly.

> containing the line "#include <wx/wx.h>" gives the following error 
> message (in French): "erreur: wx/wx.h : Aucun fichier ou dossier de ce 
> type". It means that gcc can't find the <wx/wx.h> include file.

Is there a wx/wx.h underneath your wxwidgets include dir? Maybe you need
to just #include wx.h?

tyler
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to