Commit f045dc2f authored by Martin Koller's avatar Martin Koller

make it compile with non-globally installed libksane

parent a596e86e
......@@ -31,7 +31,7 @@ find_package(KF5Sane)
if(KF5Sane_FOUND)
add_definitions(-DHAVE_KSANE=1)
set(KSANE_LIBRARIES KF5Sane)
set(KSANE_LIBRARIES KF5::Sane)
else(KF5Sane_FOUND)
add_definitions(-DHAVE_KSANE=0)
endif(KF5Sane_FOUND)
......
......@@ -116,5 +116,3 @@ int SaneDialog::nextId()
{
return ++m_currentId;
}
#include "sanedialog.moc"
......@@ -26,7 +26,7 @@
#ifndef SANEDIALOG_H
#define SANEDIALOG_H
#include <KSane/KSane>
#include <KSane>
#include <kpagedialog.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment