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.
12 lines
436 B
12 lines
436 B
8 years ago
|
# 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 ( )
|