[CMake] link_directories, MSVC and $(Configuration)
Hauke Heibel
hauke.heibel at googlemail.com
Tue Dec 27 10:07:46 EST 2011
Hi all,
I am wondering whether it is intended that the link_directories is
appending the $(Configuration) sub-directory only to the last
directory when a list of directories is passed to it?
I had to write something like
foreach(link_dir ${LIBRARY_DIRS})
link_directories("${link_dir}")
endforeach()
to override the behaviour.
Any hint is welcome.
Kind regards,
Hauke
--
CMake 2.8.5
Generator: Visual Studio 10 x64
More information about the CMake
mailing list