Unverified Commit 1af4f5f3 authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #2222 from alexreinking/patch-1

Enable CMake policy CMP0077
parents c5ee2229 ec43371e
......@@ -15,6 +15,12 @@ include(ExternalProject)
##
## OPTIONS
##
if (POLICY CMP0077)
# Allow CMake 3.13+ to override options when using FetchContent / add_subdirectory.
cmake_policy(SET CMP0077 NEW)
endif ()
option(JSON_BuildTests "Build the unit tests when BUILD_TESTING is enabled." ON)
option(JSON_Install "Install CMake targets during install step." ON)
option(JSON_MultipleHeaders "Use non-amalgamated version of the library." OFF)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment