[CMake] link_directories issue, cmake 2.8.5

Vladimir Chebotarev vladimir.chebotarev at gmail.com
Wed Nov 23 11:39:01 EST 2011


Hello.

I've just found an issue with link_directories and cmake 2.8.5.
If I give an absolute but not normalized path like
c:/bla-bla-bla/../bla/bla as its argument (with default CMP0015),
cmake thinks it is relative path and shows a warning about explicitly undefined policy.
Also it normalizes path making it relative and actually makes a mistake
during that, so the final VC project can't find the path to library.

-- 
Best Regards,
Vladimir.


More information about the CMake mailing list