aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2014-11-22 23:20:20 +0100
committerGilles Caulier <[email protected]>2014-11-22 23:20:20 +0100
commit9801abfcb1024ef9cc4983a785568552306b5f6d (patch)
tree1931a6f71daa7007c4aa2323a5ffe47335fc0ba5
parent3aed8eb4bc456bea623ed6f48089d1fa4320433d (diff)
print sane lib detection info
-rw-r--r--CMakeLists.txt3
-rw-r--r--src/CMakeLists.txt5
2 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a86c989..113c0d1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,6 +52,9 @@ remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
# Check if sane API is available.
if (NOT WIN32)
find_package(Sane)
+ message(STATUS "SANE_FOUND: ${SANE_FOUND}")
+ message(STATUS "SANE_INCLUDE_DIR: ${SANE_INCLUDE_DIR}")
+ message(STATUS "SANE_LIBRARY: ${SANE_LIBRARY}")
# macro_log_feature(SANE_FOUND "SANE development toolkit" "Scanner Access Now Easy (SANE) development package" "http://www.sane-project.org" TRUE "" "Needed by libksane")
endif (NOT WIN32)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7d838ea..d6579d9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -45,15 +45,14 @@ target_include_directories(KF5Sane INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INST
target_link_libraries(KF5Sane
PUBLIC
Qt5::Widgets
- # PRIVATE
- # KF5::CoreAddons
- # Other private libs
KF5::I18n
KF5::Wallet
KF5::WidgetsAddons
KF5::TextWidgets
PRIVATE
${SANE_LIBRARY}
+ # KF5::CoreAddons
+ # Other private libs
)
set_target_properties(KF5Sane