From: tobtoht Date: Tue, 31 May 2022 20:10:30 +0000 (+0200) Subject: Build: remove DRONE X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=14ef10ddea098cb6b118b94dc9166debe3a9dbe2;p=gamesguru%2Ffeather.git Build: remove DRONE --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e5729856..e4438190 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 651b9633..14157e6a 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 bf589607..41399c3f 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