From 09532c901ac5c6e89d3868bb65a406c02447860a Mon Sep 17 00:00:00 2001 From: SChernykh <15806605+SChernykh@users.noreply.github.com> Date: Wed, 11 Jun 2025 10:22:07 +0200 Subject: [PATCH] CMake: removed unused dependencies --- .github/workflows/c-cpp.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/test-sync.yml | 4 ++-- CMakeLists.txt | 16 ---------------- 4 files changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index d59cbf0..ed4e36d 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -130,7 +130,7 @@ jobs: run: | sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sudo apt update - sudo apt install -y git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev ${{ matrix.config.c }} ${{ matrix.config.cpp }} + sudo apt install -y git build-essential cmake libuv1-dev libzmq3-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev ${{ matrix.config.c }} ${{ matrix.config.cpp }} - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index dac766f..0e85c22 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -45,7 +45,7 @@ jobs: steps: - name: Install dependencies run: | - sudo apt update && sudo apt install git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev + sudo apt update && sudo apt install git build-essential cmake libuv1-dev libzmq3-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/test-sync.yml b/.github/workflows/test-sync.yml index 92d5d57..f2e2c4c 100644 --- a/.github/workflows/test-sync.yml +++ b/.github/workflows/test-sync.yml @@ -180,7 +180,7 @@ jobs: run: | sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sudo apt update - sudo apt install -y git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev gcc-12 g++-12 + sudo apt install -y git build-essential cmake libuv1-dev libzmq3-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev gcc-12 g++-12 - name: Checkout repository uses: actions/checkout@v4 @@ -227,7 +227,7 @@ jobs: run: | sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sudo apt update - sudo apt install -y git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev gcc-12 g++-12 + sudo apt install -y git build-essential cmake libuv1-dev libzmq3-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev gcc-12 g++-12 - name: Checkout repository uses: actions/checkout@v4 diff --git a/CMakeLists.txt b/CMakeLists.txt index c3bb613..598729a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -256,22 +256,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES GNU OR CMAKE_CXX_COMPILER_ID MATCHES Clang) find_library(CURL_LIBRARY NAMES curl) endif() endif() - find_library(SODIUM_LIBRARY sodium) -endif() - -find_library(PGM_LIBRARY pgm) -find_library(NORM_LIBRARY norm) - -if (PGM_LIBRARY) - set(LIBS ${LIBS} ${PGM_LIBRARY}) -endif() - -if (NORM_LIBRARY) - set(LIBS ${LIBS} ${NORM_LIBRARY}) -endif() - -if (SODIUM_LIBRARY) - set(LIBS ${LIBS} ${SODIUM_LIBRARY}) endif() if(APPLE)