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)
|
||||
|
||||
|
||||
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}
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -229,6 +229,7 @@ target_link_libraries( ${APPLICATION_EXECUTABLE} ${OS_SPECIFIC_LINK_LIBRARIES} )
|
|||
|
||||
if(WITH_CRASHREPORTER)
|
||||
target_link_libraries( ${APPLICATION_EXECUTABLE} crashreporter-handler)
|
||||
include_directories( "../3rdparty/libcrashreporter-qt/src/" )
|
||||
|
||||
if(UNIX AND NOT MAC)
|
||||
find_package(Threads REQUIRED)
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "updater/updater.h"
|
||||
|
||||
#ifdef WITH_CRASHREPORTER
|
||||
#include "../3rdparty/libcrashreporter-qt/src/libcrashreporter-handler/Handler.h"
|
||||
#include <libcrashreporter-handler/Handler.h>
|
||||
#endif
|
||||
|
||||
#include <QTimer>
|
||||
|
|
Loading…
Reference in a new issue