[CMake] LINK : fatal error LNK1104: cannot open file 'z.lib'

motes motes mort.motes at gmail.com
Sat Jun 6 03:30:00 EDT 2009


I use cmake to create makefiles for a C++ project. One of the target links
is just called 'z':

TARGET_LINK_LIBRARIES(z  ...

When I try to compile the code (Visual Studio 2008) I get:

LINK : fatal error LNK1104: cannot open file 'z.lib'

I have tried to download zlib for windows and point to the zlib .lib files
from VS 2008 but that is not what it want. What is 'z'?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090606/2e9be614/attachment.htm>


More information about the CMake mailing list