~aleteoryx/muditaos

ref: 22b07dd2d0e3651e07c64687805d944aaf37faae muditaos/third-party/json/CMakeLists.txt -rw-r--r-- 303 bytes
22b07dd2 — Maciej Gibowicz [BH-1648] Add shortcuts instruction to settings 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
add_library(json)
add_library(json::json ALIAS json)

if (${ENABLE_TESTS})
    add_subdirectory(test)
endif()

target_sources(json
    PRIVATE
        json11.cpp
    PUBLIC
        json11.hpp
    )

target_include_directories(json
    PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
    )