[CMake] [MSVC] LINK_DIRECTORY do not add directories to project

William A. Hoffman billlist at nycap.rr.com
Wed Feb 8 10:14:14 EST 2006


Have you done these things:

1. use ${var} and not $(var)
2. moved the LINK_DIRECTORIES to be BEFORE the ADD_EXECUTABLE.

-Bill


At 10:04 AM 2/8/2006, Vincent Daanen wrote:
>I'm using CMake 2.2 on a M$ Windows XP SP2 computer.
>
>V
>
>Brad King a écrit :
>>Vincent Daanen wrote:
>>>this is the CMakeLists.txt  file. None of the path set in LINK_DIRECTORIES commands appear in the msvc6.0  project file.
>>
>>What version of CMake are you using?
>>
>>-Brad



More information about the CMake mailing list