On 4/25/2013 2:29 PM, Richard Shaw wrote:
Unfortunately automatic static linking of wxWidgets is not possible
because the library names and cflags are not necessarily known in
advance like with the smaller libraries, which is is why they supply a
configuration binary, wx-config.
Wouldn't something like this work?
FIND_PROGRAM( CMAKE_WX_CONFIG wx-config ../wx/bin ../../wx/bin)
SET( CMAKE_WX_CXX_FLAGS"`${CMAKE_WX_CONFIG} --cxxflags`" )
SET( WXWINDOWS_LIBRARIES"`${CMAKE_WX_CONFIG} --libs`" )
Thanks
Bruce
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2