Skip to content
Snippets Groups Projects
Commit b6ff1009 authored by Simeon Keller's avatar Simeon Keller
Browse files
parent ee93c0a5
No related branches found
No related tags found
No related merge requests found
Pipeline #
# $Id: FindVrecast.cmake 50720 2015-06-12 20:38:23Z sf458740 $
include( FindPackageHandleStandardArgs )
include( VistaFindUtils )
if( NOT VRECAST_FOUND )
vista_find_package_root( recast include/Recast.h )
if( RECAST_ROOT_DIR )
find_library( RECAST_LIBRARIES NAMES Recast recast.lib
PATHS ${RECAST_ROOT_DIR}/lib
CACHE "recast library" )
mark_as_advanced( RECAST_LIBRARIES )
set( RECAST_INCLUDE_DIRS ${RECAST_ROOT_DIR}/include )
set( RECAST_LIBRARY_DIRS ${RECAST_ROOT_DIR}/lib )
get_filename_component( RECAST_LIBRARY_DIRS ${RECAST_LIBRARIES} PATH )
endif( RECAST_ROOT_DIR )
endif( NOT VRECAST_FOUND )
find_package_handle_standard_args( Vrecast "recast could not be found" RECAST_ROOT_DIR )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment