Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/third_party/yyjson/CMakeLists.txt
blob: 306237182017ab89908015032b2368e8696395a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright (c) 2026 Progmasoft.
# SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-2.0

# yyjson (MIT), the JSON reader and writer of the runner.
# The version is pinned in MODULE.bazel. Catch3
# compiles the library into one of its own translation units with
# internal linkage, so this target only provides the include directory.
# Catch3 links it through $<BUILD_INTERFACE:...>; it is never installed.
add_library(Catch3Yyjson INTERFACE)
target_include_directories(Catch3Yyjson SYSTEM INTERFACE
  "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
)