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.
上级 b6becce8
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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册