From 17d75813a744e3b327d170a3e71aea1071ef5364 Mon Sep 17 00:00:00 2001 From: Andrea Odetti Date: Sun, 3 Sep 2017 20:43:47 +0100 Subject: [PATCH] A couple of fixes. Signed-off-by: Andrea Odetti --- source/frontends/qapple/qapple.pro | 3 +++ source/linux/benchmark.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/source/frontends/qapple/qapple.pro b/source/frontends/qapple/qapple.pro index d41c41d4..038abf9a 100644 --- a/source/frontends/qapple/qapple.pro +++ b/source/frontends/qapple/qapple.pro @@ -45,3 +45,6 @@ INCLUDEPATH += $$PWD/../../../source DEPENDPATH += $$PWD/../../../source unix: LIBS += -levdev + +unix:QMAKE_RPATHDIR += $ORIGIN/../../.. + diff --git a/source/linux/benchmark.cpp b/source/linux/benchmark.cpp index f3a1cf9d..8686eea1 100644 --- a/source/linux/benchmark.cpp +++ b/source/linux/benchmark.cpp @@ -9,6 +9,8 @@ #include "Disk.h" #include "CPU.h" +#include "linux/benchmark.h" + void VideoBenchmark(std::function VideoRedrawScreen) { // PREPARE TWO DIFFERENT FRAME BUFFERS, EACH OF WHICH HAVE HALF OF THE