Skip to content

Commit

Permalink
Merge pull request #28 from kidder/feature/improve_find_catch
Browse files Browse the repository at this point in the history
Enable dnf install of catch to be found
  • Loading branch information
nilsdeppe committed May 31, 2017
2 parents fa72d3c + 1f4e99f commit cd7f774
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/FindCatch.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# From: https://github.com/cinemast/libjson-rpc-cpp
# Copyright (C) 2011-2016 Peter Spiess-Knafl

# SpECTRE modifications:
# - add PATH_SUFFIXES to find_path

find_path(
CATCH_INCLUDE_DIR
PATH_SUFFIXES single_include include
PATH_SUFFIXES single_include include catch
NAMES catch.hpp
HINTS ${CATCH_ROOT}
DOC "catch include dir"
Expand Down

0 comments on commit cd7f774

Please sign in to comment.