~aleteoryx/muditaos

ref: 8ef4acd0cecaa8df6846d27270c4989083d36b4d muditaos/third-party/json/CMakeLists.txt -rw-r--r-- 303 bytes
8ef4acd0 — rrandomsky [MOS-776] Deletion of outdated and invalid SettingsApi test 3 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}>
    )