From 782ba423f34f99c5968d29e9e0247cc4a2ae8f99 Mon Sep 17 00:00:00 2001 From: Santhosh Raju Date: Thu, 2 May 2024 06:58:40 +0200 Subject: [PATCH] Disable STATIC build for cmake. --- .github/workflows/cmake-netbsd.yml | 2 +- README.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cmake-netbsd.yml b/.github/workflows/cmake-netbsd.yml index 175f4f85..c3ec8d51 100644 --- a/.github/workflows/cmake-netbsd.yml +++ b/.github/workflows/cmake-netbsd.yml @@ -41,5 +41,5 @@ jobs: pkgin -y install cmake ninja-build gcc10 coreutils git git config --global --add safe.directory /home/runner/work/btop/btop run: | - cmake -DCMAKE_CXX_COMPILER="/usr/pkg/gcc10/bin/g++" -B build -G Ninja -DBTOP_STATIC=ON + cmake -DCMAKE_CXX_COMPILER="/usr/pkg/gcc10/bin/g++" -B build -G Ninja -DBTOP_STATIC=OFF cmake --build build --verbose diff --git a/README.md b/README.md index 4de2e84e..8002a0a6 100644 --- a/README.md +++ b/README.md @@ -1038,7 +1038,6 @@ If you have an AMD GPU `rocm_smi_lib` is required, which may or may not be packa | Configure flag | Description | |---------------------------------|-------------------------------------------------------------------------| - | `-DBTOP_STATIC=` | Enables static linking (OFF by default) | | `-DBTOP_LTO=` | Enables link time optimization (ON by default) | | `-DBTOP_USE_MOLD=` | Use mold to link btop (OFF by default) | | `-DBTOP_PEDANTIC=` | Compile with additional warnings (OFF by default) |