From 14c9b600c74d6d428ab9b1715dc7cf8cd44d070d Mon Sep 17 00:00:00 2001 From: David Wagner Date: Tue, 24 Jan 2017 16:20:06 +0100 Subject: [PATCH] Make catch.hpp a system header to avoid compilation warnings catch.hpp may contain warnings that are turned to error by -Werror; this will cause the compilation to fail unless catch.hpp is a "system" header. Tweak the CMakefile to make it so. Signed-off-by: David Wagner --- test/catch/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/catch/CMakeLists.txt b/test/catch/CMakeLists.txt index 4e7d68f87..55a1a3fad 100644 --- a/test/catch/CMakeLists.txt +++ b/test/catch/CMakeLists.txt @@ -47,5 +47,5 @@ if(BUILD_TESTING) endif() add_library(catch STATIC catch.cpp) - target_include_directories(catch PUBLIC "${CATCH_HEADER}") + target_include_directories(catch SYSTEM PUBLIC "${CATCH_HEADER}") endif()