[osg-submissions] Inventor CMake-files
Mathieu MARACHE
mathieu.marache at gmail.com
Wed Aug 29 01:17:25 PDT 2007
> TARGET_LINK_LIBRARIES( MyTarget ExternalLibraryToLinks )
2007/8/29, David Callu <ledocc at gmail.com>:
> Hi john,
>
> To specify different libs for debug/release,
> just add debug or release before the library name:
>
> SET( ExternalLibraryToLinks
> debug ExternalLibraryToLinkD
> release ExternalLibraryToLink )
>
> Then use it:
> TARGET_LINK_LIBRARIES( MyTarget ExternalLibraryToLinks )
should be :
TARGET_LINK_LIBRARIES( MyTarget ${ExternalLibraryToLinks} )
>
> CMake web site is down so I can't point you on the documentation.
> Take a look later on the function TARGET_LINK_LIBRARIES for more
> information.
>
> Cheers
> David Callu
:-)
--
Mathieu
More information about the osg-submissions
mailing list