diff options
Diffstat (limited to 'src/libcrashreporter-gui/CMakeLists.txt')
-rw-r--r-- | src/libcrashreporter-gui/CMakeLists.txt | 5 |
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 |