[CMake] TARGET_LINK_LIBRARIES not working for MSVC
John Drescher
drescherjm at gmail.com
Sat Jan 8 09:19:12 EST 2011
> TARGET_LINK_LIBRARIES(hybridnccsurfacecoloring bundler imagelib matrix
> mathlib
> 5point libsba libepnp
> sfm libDescriptors f2c minpack lapack ann)
> if(WIN32)
> TARGET_LINK_LIBRARIES(hybridnccsurfacecoloring getopt jpeg)
> endif(WIN32)
>
>
I do not think you can have multiple TARGET_LINK_LIBRARIES for the
same target. I could be wrong but I never do it that way. I generate
what is added inside a variable.
John
More information about the CMake
mailing list