[CMake] import library

Bill Hoffman bill.hoffman at kitware.com
Fri Jun 12 09:26:36 EDT 2009


Leon Aronson (DT) wrote:
> 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?
> 
What did the CMake file look like that caused the problem?


-Bill


More information about the CMake mailing list