trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] CMake - how to add library to build?

From: Darrell Anderson <humanreadable@...>
Date: Thu, 8 Mar 2012 16:56:52 -0800 (PST)
>   How do I add a library to a build in TDE? For some
> reason, the tdegraphics
> cmake setup does not include libXext. I have patched
> Makefile.am with -lXext and
> it is not seen by cmake or used for the build?? (Eg. I
> patched ksnapshot
> Makefile.am as follows):
> 
> ksnapshot_LDADD = $(LIB_TDEPRINT) -lXext
> 
>   However, the ksnapshot link still fails:

I can't answer your question to add a library. But check your build log output and cmake cache:

-- Looking for X11/extensions/shape.h
-- Looking for X11/extensions/shape.h - found


//Have include X11/extensions/shape.h
HAVE_X11_EXTENSIONS_SHAPE_H:INTERNAL=1


Darrell