~aleteoryx/muditaos

ref: defbd2568d2ac0b4725d671cd54bf277f13cc6bc muditaos/third-party/json/CMakeLists.txt -rw-r--r-- 303 bytes
defbd256 — rrandomsky [BH-000] Update changelog for 2.2.1 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}>
    )