Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 99bc138

Browse files
authored
Merge pull request #391 from dawagner/find-catch-on-fedora
catch: enable Fedora compilation out-of-the-box
2 parents 12bfd67 + d38740e commit 99bc138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/catch/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if(BUILD_TESTING)
3030
# TODO Use gtest as it is the team recommendation
3131
# Unfortunately gtest is very hard to setup as not binary distributed
3232
# catch is only one header so it is very easy
33-
find_path(CATCH_HEADER catch.hpp)
33+
find_path(CATCH_HEADER catch.hpp PATH_SUFFIXES catch)
3434
set_property(CACHE CATCH_HEADER PROPERTY ADVANCED TRUE)
3535
if(NOT CATCH_HEADER)
3636
message(SEND_ERROR

0 commit comments

Comments
 (0)