Review Request 126598: Pass JPEG_INCLUDE_DIR to try_run while trying to determine the libjpeg version

Tobias Berner tcberner at gmail.com
Wed Aug 17 21:30:52 UTC 2016


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

(Updated Aug. 17, 2016, 9:30 p.m.)


Status
------

This change has been marked as submitted.


Review request for Gwenview.


Changes
-------

Submitted with commit ba67ff9492e7386789f0bab192e416bac4f92a23 by Albert Astals Cid on behalf of Tobias Berner to branch Applications/16.08.


Repository: gwenview


Description
-------

On FreeBSD JPEG_INCLUDE_DIR is correctly set to /usr/local/include, yet it
is not passed to try_run. Which makes the configure process fail with
| -- Looking for libjpeg version in /usr/local/include/jpeglib.h
| CMake Error at lib/CMakeLists.txt:27 (message):
|  Could not find jpeglib.h.  This file comes with libjpeg.

This patch passes it via INCLUDE_DIRECTORIES to try_run, fixing the configure.


Note, this is similar to the abandoned request #125082


Diffs
-----

  lib/CMakeLists.txt cd2dbcb 

Diff: https://git.reviewboard.kde.org/r/126598/diff/


Testing
-------

Build locally.


Thanks,

Tobias Berner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gwenview-devel/attachments/20160817/9a51af07/attachment.html>


More information about the Gwenview-devel mailing list