# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: Copyright (C) 2026 Max A. Vilkki a.k.a. codise
#
# trompeloeil (Boost Software License 1.0) from lib/trompeloeil (v49), header-only
# mocking. Include <doctest/trompeloeil.hpp> after <doctest/doctest.h> so failed
# expectations are reported through doctest.

add_library(ext_trompeloeil INTERFACE)
add_library(ext::trompeloeil ALIAS ext_trompeloeil)

target_include_directories(ext_trompeloeil SYSTEM INTERFACE
    "${FLIPSID_LIB_DIR}/trompeloeil/include")
target_compile_features(ext_trompeloeil INTERFACE cxx_std_14)
target_link_libraries(ext_trompeloeil INTERFACE ext::doctest)
