~aleteoryx/muditaos

ref: 6cc2bc9df4ed70d5548f7f4296be4062553b5c7a muditaos/third-party/json/CMakeLists.txt -rw-r--r-- 303 bytes
6cc2bc9d — Dawid Wojtas [BH-1830] Fix eink crash while refreshing 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}>
    )