From 4e6aacda3625a0212edef4b8eb7e3bbdb8989775 Mon Sep 17 00:00:00 2001 From: Chris Kitching Date: Wed, 11 May 2016 01:14:56 +0100 Subject: [PATCH] Use definitely-unique target/project name There exist lots of json libraries, and project/target names must be globally unique. If someone integrated with this library in a particularly stupid way, using a generic name like "json" might cause a problem. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b51f83ab..caa4a0ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.0) # define the project -project(json VERSION 2.0.0 LANGUAGES CXX) +project(nlohmann_json VERSION 2.0.0 LANGUAGES CXX) option(BuildTests "Build the unit tests" ON)