Commit f481e2f1 authored by louiz’'s avatar louiz’

Fix the test_suite by using catch’s single_include directory

parent 97c8e2fe
......@@ -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()
......
#include "catch.hpp"
#include <network/tls_policy.hpp>
#include <sstream>
#ifdef BOTAN_FOUND
TEST_CASE("tls_policy")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment