Optionally use system libs (#6094)

* CMake: Make zstd and libzip optionally use system-installed versions

* CMake: Make SDL2 optionally use system version

* CMake: Disable crypto support in bundled libzip

* CMake: Fix bundled SDL build on macOS
This commit is contained in:
tellowkrinkle
2022-05-21 20:28:06 -07:00
committed by GitHub
parent cad85d76a5
commit 1afb248e4d
8 changed files with 62 additions and 45 deletions
@@ -27,6 +27,7 @@ cmake \
-DOpenGL_GL_PREFERENCE="LEGACY" \
-DOPENGL_opengl_LIBRARY="" \
-DXDG_STD=TRUE \
-DUSE_SYSTEM_ZSTD=FALSE \
$ADDITIONAL_CMAKE_ARGS \
-GNinja \
-B build