[CMake] import library

Leon Aronson (DT) leon at holmes.nl
Fri Jun 12 04:42:56 EDT 2009


Hi

I have moved a Visual C++ 2008 solution to cmake. 
Before the move, there was no import library in
the linker/advanced setting.

However, CMake generates the setting like this:
Import Library = C:\mecan\mecan_build\MeCan\Release\mecan.lib

When building the solution, VC++ complains that it can't find mecan.lib.
Which is correct, because it isn't in the place mentioned above.

My question is:
how can I convince Cmake to either
- not set an Import Library at all, or
- set it to the right value?

Thanks,

Leon


More information about the CMake mailing list