How do I link a dll to my programe using cmake?
Posted
by Runner
on Stack Overflow
See other posts from Stack Overflow
or by Runner
Published on 2010-04-26T11:11:16Z
Indexed on
2010/04/26
11:13 UTC
Read the original article
Hit count: 196
target_link_libraries(MyProgram libgtk-win32-2.0-0.dll)
The above is automatically converted to MyProgram libgtk-win32-2.0-0.lib
and it reports fatal error LNK1104: cannot open file 'libgtk-win32-2.0-0.lib'
.
How do I do it properly?
© Stack Overflow or respective owner