From d38740e2599ed8d14ba922a7d9d847a1870d83cb Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Mon, 19 Dec 2016 15:58:47 -0600 Subject: [PATCH] catch: enable Fedora compilation out-of-the-box Fedora places catch.hpp in /usr/include/catch, allow for this extra path Signed-off-by: Pierre-Louis Bossart 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 14b9afabb..4e7d68f87 100644 --- a/test/catch/CMakeLists.txt +++ b/test/catch/CMakeLists.txt @@ -30,7 +30,7 @@ if(BUILD_TESTING) # TODO Use gtest as it is the team recommendation # Unfortunately gtest is very hard to setup as not binary distributed # catch is only one header so it is very easy - find_path(CATCH_HEADER catch.hpp) + find_path(CATCH_HEADER catch.hpp PATH_SUFFIXES catch) set_property(CACHE CATCH_HEADER PROPERTY ADVANCED TRUE) if(NOT CATCH_HEADER) message(SEND_ERROR