Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit e3dabb2b authored by Andreas Pakulat's avatar Andreas Pakulat Committed by Sven Brauch

Fix builds for okteta in a separate prefix

The find-module already sets up the includedir to be
<prefix>/include/kasten2/okteta1 etc. so using the relative path here as
well breaks builds where okteta is installed in its own prefix and hence
there's no -I<prefix>/include on the compiler commandline.

Cherry-picked (by Sven) to 4.5 in order to fix build.kde.org
parent 0ecefcf3
......@@ -27,16 +27,16 @@
#include "oktetaview.h"
// Okteta
#if KASTEN_VERSION == 2
#include <kasten2/okteta1/bytearrayviewprofilemanager.h>
#include <kasten2/okteta1/bytearrayviewprofilesynchronizer.h>
#include <kasten2/okteta1/bytearrayrawfilesynchronizerfactory.h>
#include <kasten2/okteta1/bytearraydocument.h>
#include <bytearrayviewprofilemanager.h>
#include <bytearrayviewprofilesynchronizer.h>
#include <bytearrayrawfilesynchronizerfactory.h>
#include <bytearraydocument.h>
#elif KASTEN_VERSION == 1
#include <kasten1/okteta1/bytearrayrawfilesynchronizerfactory.h>
#include <kasten1/okteta1/bytearraydocument.h>
#include <bytearrayrawfilesynchronizerfactory.h>
#include <bytearraydocument.h>
#else
#include <kasten/bytearrayrawfilesynchronizerfactory.h>
#include <kasten/bytearraydocument.h>
#include <bytearrayrawfilesynchronizerfactory.h>
#include <bytearraydocument.h>
#endif
// Kasten
#if KASTEN_VERSION == 2
......
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