Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.14)

project(nlohmann_json_schema_validator_vendor)

Expand Down Expand Up @@ -57,16 +57,12 @@ macro(build_nlohmann_json_schema_validator)
endif()
set(json_external_project_dir ${CMAKE_CURRENT_BINARY_DIR}/json_external_project)
include(ExternalProject)
# HEAD of `main` branch on 2022-10-07
set(nlohmann_json_schema_validator_version "5ef4f903af055550e06955973a193e17efded896")
set(nlohmann_json_schema_validator_version "2.4.0")
Comment thread
russkel marked this conversation as resolved.
Outdated
externalproject_add(nlohmann_json_schema_validator-${nlohmann_json_schema_validator_version}
GIT_REPOSITORY https://github.com/pboettch/json-schema-validator.git
GIT_TAG ${nlohmann_json_schema_validator_version}
GIT_CONFIG advice.detachedHead=false
# Suppress git update due to https://gitlab.kitware.com/cmake/cmake/-/issues/16419
UPDATE_COMMAND ""
TIMEOUT 6000
PATCH_COMMAND patch -p1 < ${CMAKE_CURRENT_LIST_DIR}/patch_cmakelist
${cmake_commands}
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX=${json_external_project_dir}/install/
Expand Down
62 changes: 0 additions & 62 deletions patch_cmakelist

This file was deleted.