Apply suggestions from code review

Co-authored-by: Seth Flynn <getchoo@tuta.io>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This commit is contained in:
Alexandru Ionut Tripon 2025-08-01 09:05:25 +03:00 committed by GitHub
parent 24763e4e91
commit 1cfc702ec2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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)