mirror of
https://github.com/nlohmann/json
synced 2024-11-16 01:00:06 +00:00
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.
This commit is contained in:
parent
b6becce8fb
commit
4e6aacda36
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user