replace jsoncpp with nlohmann_json
This commit is contained in:
parent
1aa56f24a3
commit
6b251a4a32
6 changed files with 54 additions and 52 deletions
|
@ -21,6 +21,13 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
|||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
|
||||
option(KIMA2_USE_EXTERNAL_JSON "Use an external JSON library" OFF)
|
||||
|
||||
if(KIMA2_USE_EXTERNAL_JSON)
|
||||
find_package(nlohmann_json REQUIRED)
|
||||
endif()
|
||||
|
||||
add_subdirectory(3rdparty)
|
||||
add_subdirectory(src)
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue