[wxMac] Building with CMake
John Ralls
jralls at ceridwen.fremont.ca.us
Sat Oct 6 10:31:41 PDT 2007
Never mind, I figured it out. One needs to add the following in the
toplevel CMakeLists.txt:
IF( APPLE )
SET(wxWidgets_INCLUDE_DIRS_NO_SYSTEM 1)
ENDIF( APPLE )
Regards,
John Ralls
On Oct 5, 2007, at 9:27 PM, John Ralls wrote:
> I'm trying to build the swWxGuiTesting library, which uses CMake,
> and I'm trying to do it on OS-X.
> CMake insists on changing the include flags to g++ for the wx
> include directories from '−I' to '−isystem'. This chokes g++,
> making it think that global scope prototypes should be C instead of
> C++ (making overloading not work, for example).
>
> I've tried a few things to change CMake's mind, none successful.
> Does anyone here know the trick?
>
> Regards,
> John Ralls
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
More information about the wx-users
mailing list