Review Request 126598: Pass JPEG_INCLUDE_DIR to try_run while trying to determine the libjpeg version
Tobias Berner
tcberner at gmail.com
Sat Jan 2 09:22:15 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126598/
-----------------------------------------------------------
Review request for Gwenview.
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/20160102/dd04291a/attachment.html>
More information about the Gwenview-devel
mailing list