mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
build: Make libarchive not required
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user