From 8a1f3d8ce2996d1c543da9e9f091d75ca4777454 Mon Sep 17 00:00:00 2001 From: WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> Date: Tue, 5 Jan 2021 16:22:07 +0000 Subject: Properly fix macOS finding libarchive (i hope) --- src/frontend/qt_sdl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/frontend/qt_sdl/CMakeLists.txt b/src/frontend/qt_sdl/CMakeLists.txt index f5fb37a..f0362e5 100644 --- a/src/frontend/qt_sdl/CMakeLists.txt +++ b/src/frontend/qt_sdl/CMakeLists.txt @@ -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) -- cgit v1.2.3