mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-11-24 12:15:04 +00:00
10 lines
317 B
CMake
10 lines
317 B
CMake
add_library( nlohmann_json INTERFACE )
|
|
|
|
target_include_directories( nlohmann_json INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} )
|
|
|
|
target_sources( nlohmann_json INTERFACE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/nlohmann/json.hpp
|
|
)
|
|
|
|
# Reduces build times
|
|
target_compile_definitions( nlohmann_json INTERFACE JSON_HAS_FILESYSTEM=0 ) |