[Cmake] "Automatic" LINK_DIRECTORIES under Unix

Amitha Perera perera at cs.rpi.edu
Mon Jun 18 16:49:33 EDT 2001


On Mon, Jun 18, 2001 at 08:17:47AM -0400, Bill Hoffman wrote:
> Sounds like a good idea, however, don't just do it for the Unix build,
> remember this is "C" make.   This could be done easily in the LINK commands.

I've done this.
  LINK_LIBRARIES( abc def )
now does an implicit
  LINK_DIRECTORIES( $cache{abc} $cache{def} )

> Also, I don't see the connection to LIBRARY_OUTPUT_PATH??

Sorry, this was a mis-understanding on my part on how this variable
worked.

Amitha.




More information about the CMake mailing list