mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
Properly fix macOS finding libarchive
(i hope)
This commit is contained in:
parent
00e9a5e0c7
commit
8a1f3d8ce2
@ -59,7 +59,7 @@ if (APPLE)
|
||||
execute_process(COMMAND brew --prefix libarchive
|
||||
OUTPUT_VARIABLE LIBARCHIVE_DIR
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
set(CMAKE_PREFIX_PATH "${LIBARCHIVE_DIR}/lib/pkgconfig")
|
||||
list(APPEND CMAKE_PREFIX_PATH "${LIBARCHIVE_DIR}")
|
||||
endif()
|
||||
pkg_check_modules(LIBARCHIVE REQUIRED libarchive)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user