Red Hat Bugzilla – Bug 1285862
KSane.cmake is broken
Last modified: 2016-11-04 00:06:18 EDT
Description of problem:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
It appears it is not pointing to the correct include directory.
Version-Release number of selected component (if applicable):
(In reply to Orion Poplawski from comment #0)
> Description of problem:
> find_package(KSane REQUIRED)
> fails with:
> CMake Error: The following variables are used in this project, but they are
> set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake
> It appears it is not pointing to the correct include directory.
> Version-Release number of selected component (if applicable):
could you please give a a reproduce for this issue?
Created attachment 1099736 [details]
I discovered this by trying to build skanlite, so one option is to just try building that. The attached CMakeLists.txt will reproduce the problem of KSANE_INCLUDE_DIR not being set. It should get set to /usr/include/kde4, instead I get:
KSANE_INCLUDE_DIR = KSANE_INCLUDE_DIR-NOTFOUND
It is fixed in libksane-4.14.3-1.el7 from Rex's kde4 for el7 copr.
Orion, thanks your feedbacks!
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.