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