[CMake] FLTK_WRAP_UI cmake-2.2.0

William A. Hoffman billlist at nycap.rr.com
Thu Sep 8 11:33:05 EDT 2005


At 09:46 AM 9/8/2005, nicholasshea at tiscali.co.uk wrote:

>#-------------------------------------------------------------------------------
># Build static lib of the fluid generated sources
>#-------------------------------------------------------------------------------
>FLTK_WRAP_UI(tsui ${UI_SOURCES})
>ADD_LIBRARY (tsUI STATIC ${tsui_FLTK_UI_SRCS})

I think the problem is here.  You should make sure
that the library name tsUI is equal to tsui, and
case matters.   i.e. The first argument to FLTK_WRAP_UI
should be the same name as the target it is going to be
used in.

-Bill



More information about the CMake mailing list