blob: 0edfefe8b887960b034f0d8da5d5559c66bd93fe (
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-1.1
# yyjson (MIT), the JSON reader and writer of the runner.
# The version is pinned in tools/scripts/updateThirdParty.py. 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}>"
)
|