From f481e2f194d60e9be39ca44ede8d46717937451e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Sat, 28 Apr 2018 13:37:46 +0200 Subject: =?UTF-8?q?Fix=20the=20test=5Fsuite=20by=20using=20catch=E2=80=99s?= =?UTF-8?q?=20single=5Finclude=20directory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 2 +- tests/network.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d31900..1fe8010 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -308,7 +308,7 @@ set_target_properties(catch PROPERTIES EXCLUDE_FROM_ALL TRUE) ExternalProject_Get_Property(catch SOURCE_DIR) if(NOT EXISTS ${CMAKE_SOURCE_DIR}/tests/catch.hpp) target_include_directories(test_suite - PUBLIC "${SOURCE_DIR}/include/" + PUBLIC "${SOURCE_DIR}/single_include/" ) add_dependencies(test_suite catch) endif() diff --git a/tests/network.cpp b/tests/network.cpp index 33cf023..a52eb6a 100644 --- a/tests/network.cpp +++ b/tests/network.cpp @@ -1,5 +1,6 @@ #include "catch.hpp" #include +#include #ifdef BOTAN_FOUND TEST_CASE("tls_policy") -- cgit v1.2.3