~aleteoryx/muditaos

ref: 0e8b4c848e3f87f3bbb1f64ef7460cf56017b87f muditaos/third-party/json/CMakeLists.txt -rw-r--r-- 303 bytes
0e8b4c84 — Lefucjusz [BH-2108] Fix misaligned charging symbol 3 months 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}>
    )