From 1cfc702ec2cd91f0e098b43ff539f7d2e525b9ee Mon Sep 17 00:00:00 2001 From: Alexandru Ionut Tripon Date: Fri, 1 Aug 2025 09:05:25 +0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Seth Flynn Signed-off-by: Alexandru Ionut Tripon --- .github/actions/setup-dependencies/macos/action.yml | 2 +- CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup-dependencies/macos/action.yml b/.github/actions/setup-dependencies/macos/action.yml index 82c0a69c4..6fc3ed3bf 100644 --- a/.github/actions/setup-dependencies/macos/action.yml +++ b/.github/actions/setup-dependencies/macos/action.yml @@ -14,7 +14,7 @@ runs: shell: bash run: | brew update - brew install ninja extra-cmake-modules temurin@17 libarchive + brew install ninja extra-cmake-modules temurin@17 - name: Set JAVA_HOME shell: bash diff --git a/CMakeLists.txt b/CMakeLists.txt index 95b6413f3..be15c2233 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -346,8 +346,7 @@ if(PkgConfig_FOUND AND NOT MSVC) else() find_path(LIBARCHIVE_INCLUDE_DIR archive.h REQUIRED) find_library(LIBARCHIVE_LIBRARY_RELEASE archive REQUIRED) - find_library(LIBARCHIE_LIBRARY_DEBUG archived) - set(LIBARCHIVE_LIBRARIES optimized ${LIBARCHIVE_LIBRARY_RELEASE} debug ${LIBARCHIVE_LIBRARY_DEBUG}) + set(LIBARCHIVE_LIBRARIES optimized ${LIBARCHIVE_LIBRARY_RELEASE}) endif() if(NOT Launcher_FORCE_BUNDLED_LIBS)