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:
Diffstat (limited to 'src/libcrashreporter-gui/CMakeLists.txt')
-rw-r--r--src/libcrashreporter-gui/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcrashreporter-gui/CMakeLists.txt b/src/libcrashreporter-gui/CMakeLists.txt
index d32a1e5..9f2a1f6 100644
--- a/src/libcrashreporter-gui/CMakeLists.txt
+++ b/src/libcrashreporter-gui/CMakeLists.txt
@@ -1,9 +1,12 @@
+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