diff options
author | Dominik Schmidt <dev@dominik-schmidt.de> | 2021-08-19 16:15:08 +0300 |
---|---|---|
committer | Dominik Schmidt <dev@dominik-schmidt.de> | 2021-08-19 16:15:08 +0300 |
commit | 83ecd5e3958e9a695a55acba33ec623bc72dd5c7 (patch) | |
tree | 360462253206f0b5925882064294c3022575b452 | |
parent | 5b2753de99c530c63c1611d0eddae8ae5bfaddb0 (diff) |
Add ENABLE_GPL_CODE define only when not compiling for Windows or macOS
-rw-r--r-- | CMakeLists.txt | 2 |
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() |