You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmonero/ext/restbed/cmake/modules/Findcatch.cmake

12 lines
436 B

# Copyright 2013-2016, Corvusoft Ltd, All Rights Reserved.
find_path( catch_INCLUDE catch.hpp HINTS "${CMAKE_SOURCE_DIR}/dependency/catch/include" "/usr/include" "/usr/local/include" "/opt/local/include" )
if ( catch_INCLUDE )
set( CATCH_FOUND TRUE )
message( STATUS "${Green}Found Catch include at: ${catch_INCLUDE}${Reset}" )
else ( )
message( FATAL_ERROR "${Red}Failed to locate Catch dependency.${Reset}" )
endif ( )