// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

// This will only be defined if cmake couldn't find a static or dynamic library to link against.
#cmakedefine BOOST_TEST_USE_INCLUDED

// Only one file needs to include the implementation files
#if defined(BOOST_TEST_USE_INCLUDED) && defined(TEST_INCLUDE_IMPLEMENTATION)
#include <boost/test/included/unit_test.hpp>

#else

//If a dynamic library was found, this will be defined before including the header.
#cmakedefine BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#endif
