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:
authorDominik Schmidt <dev@dominik-schmidt.de>2021-08-19 16:15:08 +0300
committerDominik Schmidt <dev@dominik-schmidt.de>2021-08-19 16:15:08 +0300
commit83ecd5e3958e9a695a55acba33ec623bc72dd5c7 (patch)
tree360462253206f0b5925882064294c3022575b452
parent5b2753de99c530c63c1611d0eddae8ae5bfaddb0 (diff)
Add ENABLE_GPL_CODE define only when not compiling for Windows or macOS
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0beae2b..7e1e269 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ if(POLICY CMP0063)
endif()
option(ENABLE_GPL_CODE "Enable GPL-licensed depencencies of libcrashreporter-qt (dr.konqui integration)" OFF)
-if(ENABLE_GPL_CODE)
+if(ENABLE_GPL_CODE AND NOT APPLE AND NOT WIN32)
add_definitions( -DENABLE_GPL_CODE )
endif()