[Okular-devel] Review Request 123176: Fix include and library information of OkularConfig.cmake.

Alex Richardson arichardson.kde at gmail.com
Mon Mar 30 21:09:45 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123176/#review78253
-----------------------------------------------------------


Does it work if you replace `lib` with @CMAKE_INSTALL_LIBDIR@?

You might have to pass `PATH_VARS CMAKE_INSTALL_LIBDIR` to `ecm_configure_package_config_file`.

I'm not 100% sure that works but I think that's what I did when I had a similar problem

- Alex Richardson


On March 29, 2015, 2:40 p.m., Andreas Cord-Landwehr wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123176/
> -----------------------------------------------------------
> 
> (Updated March 29, 2015, 2:40 p.m.)
> 
> 
> Review request for Okular.
> 
> 
> Repository: okular
> 
> 
> Description
> -------
> 
> This fixes two issues:
> 1. ${_okularBaseDir} provides a path to <somedir>/lib which prevents the include dir to be found
> 2. the find_library search does not consider the architecture prefixes (here I am unsure if I fixed it correctly or if NO_DEFAULT_PATH had a deeper meaning)
> 
> 
> Diffs
> -----
> 
>   OkularConfig.cmake 59537c6 
> 
> Diff: https://git.reviewboard.kde.org/r/123176/diff/
> 
> 
> Testing
> -------
> 
> Manual testing.
> 
> 
> Thanks,
> 
> Andreas Cord-Landwehr
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20150330/82846b47/attachment.html>


More information about the Okular-devel mailing list