mirror of
https://github.com/nlohmann/json.git
synced 2024-11-27 16:49:02 +08:00
Set MAIN_PROJECT=OFF initially
This commit is contained in:
parent
5c589dd138
commit
790508887e
@ -9,6 +9,7 @@ project(nlohmann_json VERSION 3.9.1 LANGUAGES CXX)
|
||||
##
|
||||
## MAIN_PROJECT CHECK
|
||||
##
|
||||
set(MAIN_PROJECT OFF)
|
||||
if (CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
|
||||
set(MAIN_PROJECT ON)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user