According to https://github.com/catchorg/Catch2/issues/1202 the
regular include is 'catch2/catch.hpp'. Also CMake and pkg-config
provide include paths for this include name.
Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
*/
#define CATCH_CONFIG_MAIN
-#include <catch.hpp>
+#include <catch2/catch.hpp>
#include <linux/version.h>
#include <sys/utsname.h>
#include <system_error>
* Copyright (C) 2019 Bartosz Golaszewski <bgolaszewski@baylibre.com>
*/
-#include <catch.hpp>
+#include <catch2/catch.hpp>
#include <gpiod.hpp>
#include "gpio-mockup.hpp"
* Copyright (C) 2019 Bartosz Golaszewski <bgolaszewski@baylibre.com>
*/
-#include <catch.hpp>
+#include <catch2/catch.hpp>
#include <gpiod.hpp>
#include <map>
#include <poll.h>
* Copyright (C) 2019 Bartosz Golaszewski <bgolaszewski@baylibre.com>
*/
-#include <catch.hpp>
+#include <catch2/catch.hpp>
#include <gpiod.hpp>
#include "gpio-mockup.hpp"
* Copyright (C) 2019 Bartosz Golaszewski <bgolaszewski@baylibre.com>
*/
-#include <catch.hpp>
+#include <catch2/catch.hpp>
#include <gpiod.hpp>
#include "gpio-mockup.hpp"
if test "x$with_tests" = xtrue
then
AC_LANG_PUSH([C++])
- AC_CHECK_HEADERS([catch.hpp], [], [HEADER_NOT_FOUND_CXX([catch.hpp])])
+ AC_CHECK_HEADERS([catch2/catch.hpp], [], [HEADER_NOT_FOUND_CXX([catch2/catch.hpp])])
AC_LANG_POP([C++])
fi
fi