nlohmann from package managers (#4071)

This commit is contained in:
briaguya 2024-04-25 13:55:16 -04:00 committed by GitHub
commit a4fb67745a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 45 additions and 5 deletions

View file

@ -20,7 +20,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
set(VCPKG_TARGET_TRIPLET x64-windows-static)
vcpkg_bootstrap()
vcpkg_install_packages(zlib bzip2 libzip libpng sdl2 sdl2-net glew glfw3)
vcpkg_install_packages(zlib bzip2 libzip libpng sdl2 sdl2-net glew glfw3 nlohmann-json)
if (CMAKE_C_COMPILER_LAUNCHER MATCHES "ccache|sccache")
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT Embedded)