Commit 8a9133c6 authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #652 from olegendo/develop

Rename BuildTests to JSON_BuildTests
parents f1fabd1b cd800522
......@@ -5,7 +5,7 @@ project(nlohmann_json VERSION 2.1.1 LANGUAGES CXX)
enable_testing()
option(BuildTests "Build the unit tests" ON)
option(JSON_BuildTests "Build the unit tests" ON)
# define project variables
set(JSON_TARGET_NAME ${PROJECT_NAME})
......@@ -25,7 +25,7 @@ target_include_directories(${JSON_TARGET_NAME} INTERFACE
$<INSTALL_INTERFACE:${JSON_INCLUDE_DESTINATION}>)
# create and configure the unit test target
if(BuildTests)
if(JSON_BuildTests)
add_subdirectory(test)
endif()
......
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