[Insight-developers] Re: More problems with your changes to CMakeLists.txt

Brad King brad.king@kitware.com
Mon, 24 Feb 2003 09:43:27 -0500 (EST)


> The SGI build, ct02_oc has several failures during linking because the
> math functions are not being resolved. Seems like a -lm is needed after
> the png library. I'm not sure where to put the -lm in the myriad of
> cmake files.

Your change to add -lm after png itself should automatically chain into
everything that links png.

-Brad