aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-01-05 16:22:07 +0000
committerGitHub <noreply@github.com>2021-01-05 16:22:07 +0000
commit8a1f3d8ce2996d1c543da9e9f091d75ca4777454 (patch)
tree6761ab93ea9e350d390b8b791ebf0a77797497e7 /src/frontend
parent00e9a5e0c7afcea3502e8627db7066cc14aa2536 (diff)
Properly fix macOS finding libarchive
(i hope)
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/qt_sdl/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)