FW: [Cmake] TARGET_LINK_LIBRARIES
Ken Martin
ken.martin at kitware.com
Thu Apr 17 12:59:44 EDT 2003
-----Original Message-----
From: Ken Martin [mailto:ken.martin at kitware.com]
Sent: Thursday, April 17, 2003 11:59 AM
To: 'Amitha Perera'
Subject: RE: [Cmake] TARGET_LINK_LIBRARIES
> > I have a project with directory like this:
> >
> > project/
> > libA/
> > libB/
> >
> > And libB need libA to be link.
> >
> > Therefore in project/libB/CMakeLists.txt I add an entry:
> >
> > TARGET_LINK_LIBRARIES(libB ${libA}) but this doesn't seems to be
> > sufficient. What should I add ?
Should this just be
TARGET_LINK_LIBRARIES(libB libA)
Ken
More information about the CMake
mailing list