1
0
mirror of synced 2025-01-29 19:17:28 +01:00

build: Make libarchive not required

This commit is contained in:
WerWolv 2023-12-24 14:43:49 +01:00
parent 9952854b53
commit d2d244ebc7

View File

@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16)
include(ImHexPlugin)
# Homebrew only ships a libarchive keg, include directories have to be set manually
find_package(LibArchive REQUIRED)
find_package(LibArchive)
if (NOT DEFINED LibArchive_INCLUDE_DIR OR LibArchive_INCLUDE_DIR STREQUAL "")
if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
execute_process(