Merge branch 'nlohmann:develop' into feature/sapitskiy/spm-support

This commit is contained in:
Aleksei Sapitskii 2023-10-09 11:21:23 +03:00 committed by Aleksei Sapitskii
commit b87c908c01
2 changed files with 4 additions and 3 deletions

View File

@ -29,6 +29,7 @@ jobs:
uses: egor-tensin/setup-mingw@v2
with:
platform: ${{ matrix.architecture }}
version: 12.2.0 # https://github.com/egor-tensin/setup-mingw/issues/14
- name: Run CMake
run: cmake -S . -B build -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On
- name: Build

View File

@ -6,14 +6,14 @@ import PackageDescription
let package = Package(
name: "nlohmann-json",
platforms: [
.iOS(.v11), .macOS(.v10_13), .tvOS(.v11), .watchOS(.v4)
.iOS(.v12), .macOS(.v10_13), .tvOS(.v12), .watchOS(.v4)
],
products: [
.library(name: "nlohmann-json", targets: ["nlohmann-json"])
.library(name: "json", targets: ["json"])
],
targets: [
.target(
name: "nlohmann-json",
name: "json",
path: "single_include/nlohmann",
publicHeadersPath: "."
)