[CMake] wx definitions

Leila Baghdadi baghdadi at phenogenomics.ca
Tue Jun 28 14:19:20 EDT 2011


Hi everyone.

I am using Modules/FindwxWidgets.cmake on basis of cmake wiki recommendation to use wx windows,

I think I have everything except the definitions
MSG("WXWIDGETS_DEFINITIONS=${WXWIDGETS_DEFINITIONS}")
prints
_FILE_OFFSET_BITS=64_LARGE_FILES__WXGTK__

which does not include spaces and if I place it in definitions for cmake

ADD_DEFINITIONS(-D${WXWIDGETS_DEFINITIONS})

I get errors,

any thoughts

thanks

Leila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110628/d6106a28/attachment.htm>


More information about the CMake mailing list