From 391feca3260299ad66428136704d375c7bd9e519 Mon Sep 17 00:00:00 2001
From: Tom Hughes <tom@compton.nu>
Date: Mon, 23 Jul 2018 21:01:08 +0100
Subject: [PATCH] Use new name for catch2 pkg-config module
---
test/CMakeLists.txt | 2 +-
test/test_cppcodec.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 22eb286..b8ec785 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -3,7 +3,7 @@ include_directories(BEFORE ${PROJECT_SOURCE_DIR})
find_package(PkgConfig)
if (PKG_CONFIG_FOUND)
- pkg_check_modules(CATCH2 catch)
+ pkg_check_modules(CATCH2 catch2)
endif()
if (CATCH2_FOUND)
diff --git a/test/test_cppcodec.cpp b/test/test_cppcodec.cpp
index 5a3ed6c..156c16e 100644
--- a/test/test_cppcodec.cpp
+++ b/test/test_cppcodec.cpp
@@ -22,7 +22,7 @@
*/
#define CATCH_CONFIG_MAIN
-#include <catch.hpp>
+#include <catch2/catch.hpp>
#include <cppcodec/base32_crockford.hpp>
#include <cppcodec/base32_hex.hpp>
--
2.17.1