Commit 99788b90 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Second attempt at fixing the windows/craft build

Since libspectre includes reference themselves with libspectre/ change
the cmake find_path to also include libspectre/ when doing the include
path search
parent 108e568d
......@@ -34,9 +34,8 @@ if(_pc_LIBSPECTRE_FOUND)
HINTS ${_pc_LIBSPECTRE_LIBRARY_DIRS} ${CMAKE_LIBRARY_PATH}
)
find_path(LIBSPECTRE_INCLUDE_DIR spectre.h
find_path(LIBSPECTRE_INCLUDE_DIR libspectre/spectre.h
HINTS ${_pc_LIBSPECTRE_INCLUDE_DIRS}
PATH_SUFFIXES libspectre
)
set(LIBSPECTRE_INTERNAL_FOUND TRUE)
......
......@@ -13,7 +13,7 @@
#include <core/generator.h>
#include <interfaces/configinterface.h>
#include <spectre.h>
#include <libspectre/spectre.h>
class GSGenerator : public Okular::Generator, public Okular::ConfigInterface
{
......
......@@ -16,7 +16,7 @@
#include <QString>
#include <QThread>
#include <spectre.h>
#include <libspectre/spectre.h>
class QImage;
class GSGenerator;
......
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