Source
xxxxxxxxxx
--- CMakeLists.txt.orig 2017-01-16 19:05:42.000000000 +0900
+++ CMakeLists.txt 2017-01-16 19:31:40.000000000 +0900
macro_optional_find_package(KSane)
macro_log_feature(KSANE_FOUND "libksane" "Support for adding scanned images to a collection" "http://www.kde.org/" FALSE "4.2.0" "")
if(KSANE_FOUND)
+ #Manually set KSANE_INCLUDE_DIR to known path
+ set(KSANE_INCLUDE_DIR @KDEINCLUDEDIR@)
include_directories(${KSANE_INCLUDE_DIR})
endif(KSANE_FOUND)