How do I link a dll to my programe using cmake?
- by Runner
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?