From 14ef10ddea098cb6b118b94dc9166debe3a9dbe2 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Tue, 31 May 2022 22:10:30 +0200 Subject: [PATCH] Build: remove DRONE --- CMakeLists.txt | 4 ---- src/CMakeLists.txt | 4 ---- utils/build_macos.sh | 1 - 3 files changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e572985..e443819 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,10 +156,6 @@ if(UNIX AND NOT APPLE) endif() endif() -if("$ENV{DRONE}" STREQUAL "true") - message(STATUS "We are inside a static compile with Drone CI") -endif() - include(TorQrcGenerator) # To build Feather with embedded (and static) Tor, pass CMake -DTOR_DIR=/path/to/tor/ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 651b963..14157e6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -197,10 +197,6 @@ if(STATIC) target_compile_definitions(feather PRIVATE STATIC=1) endif() -if("$ENV{DRONE}" STREQUAL "true") - target_compile_definitions(feather PRIVATE DRONE=1) -endif() - if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug") target_compile_definitions(feather PRIVATE QT_NO_DEBUG=1) endif() diff --git a/utils/build_macos.sh b/utils/build_macos.sh index bf58960..41399c3 100644 --- a/utils/build_macos.sh +++ b/utils/build_macos.sh @@ -3,7 +3,6 @@ HASH="$1" echo "[+] hash: $HASH" -export DRONE=true echo "[+] Building" rm ~/feather.zip 2>&1 >/dev/null