mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-16 19:04:43 +03:00
Use include path for libcrashreporter-qt instead of lengthy relative include
This commit is contained in:
parent
34042028b3
commit
439bf7641e
4 changed files with 7 additions and 6 deletions
|
@ -19,10 +19,9 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CrashReporterConfig.h.in
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/CrashReporterConfig.h)
|
${CMAKE_CURRENT_BINARY_DIR}/CrashReporterConfig.h)
|
||||||
|
|
||||||
|
|
||||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}
|
||||||
# ../../libtomahawk
|
"../3rdparty/libcrashreporter-qt/src/"
|
||||||
# ../../thirdparty/libcrashreporter-qt/src
|
)
|
||||||
#)
|
|
||||||
|
|
||||||
add_executable( owncloud_crash_reporter WIN32
|
add_executable( owncloud_crash_reporter WIN32
|
||||||
${crashreporter_SOURCES}
|
${crashreporter_SOURCES}
|
||||||
|
|
|
@ -12,10 +12,11 @@
|
||||||
* for more details.
|
* for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../3rdparty/libcrashreporter-qt/src/libcrashreporter-gui/CrashReporter.h"
|
|
||||||
|
|
||||||
#include "CrashReporterConfig.h"
|
#include "CrashReporterConfig.h"
|
||||||
|
|
||||||
|
#include <libcrashreporter-gui/CrashReporter.h>
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
|
|
|
@ -229,6 +229,7 @@ target_link_libraries( ${APPLICATION_EXECUTABLE} ${OS_SPECIFIC_LINK_LIBRARIES} )
|
||||||
|
|
||||||
if(WITH_CRASHREPORTER)
|
if(WITH_CRASHREPORTER)
|
||||||
target_link_libraries( ${APPLICATION_EXECUTABLE} crashreporter-handler)
|
target_link_libraries( ${APPLICATION_EXECUTABLE} crashreporter-handler)
|
||||||
|
include_directories( "../3rdparty/libcrashreporter-qt/src/" )
|
||||||
|
|
||||||
if(UNIX AND NOT MAC)
|
if(UNIX AND NOT MAC)
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "updater/updater.h"
|
#include "updater/updater.h"
|
||||||
|
|
||||||
#ifdef WITH_CRASHREPORTER
|
#ifdef WITH_CRASHREPORTER
|
||||||
#include "../3rdparty/libcrashreporter-qt/src/libcrashreporter-handler/Handler.h"
|
#include <libcrashreporter-handler/Handler.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
Loading…
Reference in a new issue