Fix linking with okularpart.dll when using MSVC.

Review Request #125792 - Created Oct. 25, 2015 and submitted

Information
Gleb Popov
okular
frameworks
Reviewers
okular

To link with DLL using Visual Studio linker, it should be fed with .lib file corresponding to .dll being linked. For libraries created with SHARED keyword, CMake figures this out and passes correct file. But for okularpart target, the DLL itself is passed, which leads to error during linking.

This seems to be a bug in CMake and this patch works it around.


  

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Gleb Popov
Patrick Spendrin
Gleb Popov
Albert Astals Cid
Albert Astals Cid
Gleb Popov
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 0928298a74087f1a42fc53f5eca35d0315d36c22 by Patrick Spendrin on behalf of Gleb Popov to branch frameworks.
Loading...