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

github.com/dschmidt/libcrashreporter-qt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-10-19 13:21:14 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2020-10-19 13:21:14 +0300
commit795445369296f8cb86cae2bc7896b0314b871b81 (patch)
treea04c78c54a6eacc729546bf1c162d3e249349fe7
parenta4409c5c1b39dc208518bd0f2868fc2894bdcb3f (diff)
Fix non gpl non linux build
-rw-r--r--src/libcrashreporter-gui/CMakeLists.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/libcrashreporter-gui/CMakeLists.txt b/src/libcrashreporter-gui/CMakeLists.txt
index 9f2a1f6..4420e33 100644
--- a/src/libcrashreporter-gui/CMakeLists.txt
+++ b/src/libcrashreporter-gui/CMakeLists.txt
@@ -1,28 +1,28 @@
-if(NOT ENABLE_GPL_CODE)
- message(FATAL_ERROR "Using the Linux build requires ENABLE_GPL_CODE to be true.")
-endif()
-
set(crashreporter_SOURCES CrashReporter.cpp CrashReporterGzip.cpp)
set(crashreporter_UI CrashReporter.ui)
set(crashreporter_RC ../../resources.qrc)
set(crashreporter_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_LIST_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDES})
if(UNIX AND NOT APPLE)
-list(APPEND crashreporter_INCLUDE_DIRECTORIES
- ${CMAKE_CURRENT_LIST_DIR}/../../3rdparty/drkonqi-parser
-)
-list(APPEND crashreporter_LIBRARIES
- drkonqi_backtrace_parser
-)
-list(APPEND crashreporter_SOURCES
- linux-backtrace-generator/crashedapplication.cpp
- linux-backtrace-generator/backtracegenerator.cpp
- linux-backtrace-generator/debugger.cpp
- linux-backtrace-generator/crqt-kmacroexpander.cpp
- linux-backtrace-generator/crqt-kmacroexpander_unix.cpp
- linux-backtrace-generator/crqt-kshell.cpp
- linux-backtrace-generator/crqt-kshell_unix.cpp
-)
+ if(NOT ENABLE_GPL_CODE)
+ message(FATAL_ERROR "Using the Linux build requires ENABLE_GPL_CODE to be true.")
+ endif()
+
+ list(APPEND crashreporter_INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_LIST_DIR}/../../3rdparty/drkonqi-parser
+ )
+ list(APPEND crashreporter_LIBRARIES
+ drkonqi_backtrace_parser
+ )
+ list(APPEND crashreporter_SOURCES
+ linux-backtrace-generator/crashedapplication.cpp
+ linux-backtrace-generator/backtracegenerator.cpp
+ linux-backtrace-generator/debugger.cpp
+ linux-backtrace-generator/crqt-kmacroexpander.cpp
+ linux-backtrace-generator/crqt-kmacroexpander_unix.cpp
+ linux-backtrace-generator/crqt-kshell.cpp
+ linux-backtrace-generator/crqt-kshell_unix.cpp
+ )
endif()
add_library(crashreporter-gui STATIC