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 changed files with 1 additions and 1 deletions
|
@ -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 a new issue