Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Schmidt <domme@tomahawk-player.org>2014-08-28 13:11:42 +0400
committerDominik Schmidt <domme@tomahawk-player.org>2014-08-28 13:11:42 +0400
commit439bf7641e4fa4368f512e33e569db14f690c1e0 (patch)
treef91fa4ad22637d7446a72e1981a9059e677ff136 /src/crashreporter
parent34042028b3e14724476edf6a0c2fc105e97e192d (diff)
Use include path for libcrashreporter-qt instead of lengthy relative include
Diffstat (limited to 'src/crashreporter')
-rw-r--r--src/crashreporter/CMakeLists.txt7
-rw-r--r--src/crashreporter/main.cpp3
2 files changed, 5 insertions, 5 deletions
diff --git a/src/crashreporter/CMakeLists.txt b/src/crashreporter/CMakeLists.txt
index c96fcb507..6a7a669f0 100644
--- a/src/crashreporter/CMakeLists.txt
+++ b/src/crashreporter/CMakeLists.txt
@@ -19,10 +19,9 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CrashReporterConfig.h.in
${CMAKE_CURRENT_BINARY_DIR}/CrashReporterConfig.h)
-include_directories(${CMAKE_CURRENT_BINARY_DIR})
-# ../../libtomahawk
-# ../../thirdparty/libcrashreporter-qt/src
-#)
+include_directories(${CMAKE_CURRENT_BINARY_DIR}
+ "../3rdparty/libcrashreporter-qt/src/"
+)
add_executable( owncloud_crash_reporter WIN32
${crashreporter_SOURCES}
diff --git a/src/crashreporter/main.cpp b/src/crashreporter/main.cpp
index 4b9908691..6471fa91e 100644
--- a/src/crashreporter/main.cpp
+++ b/src/crashreporter/main.cpp
@@ -12,10 +12,11 @@
* for more details.
*/
-#include "../3rdparty/libcrashreporter-qt/src/libcrashreporter-gui/CrashReporter.h"
#include "CrashReporterConfig.h"
+#include <libcrashreporter-gui/CrashReporter.h>
+
#include <QApplication>
#include <QDebug>