Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (21 sloc) 857 Bytes
# - Find Gangsta
# Find the native Gangsta includes and library
#
# GANGSTA_FOUND - True if Gangsta found.
# GANGSTA_INCLUDE_DIR - where to find GaTypes.h, etc.
# GANGSTA_LIBRARIES - List of libraries when using Gangsta.
#
IF( GANGSTA_INCLUDE_DIR )
# Already in cache, be silent
SET( Gangsta_FIND_QUIETLY TRUE )
ENDIF( GANGSTA_INCLUDE_DIR )
FIND_PATH( GANGSTA_INCLUDE_DIR "GaTypes.h"
PATH_SUFFIXES "gangsta" )
FIND_LIBRARY( GANGSTA_LIBRARIES
NAMES "gangsta"
PATH_SUFFIXES "gangsta" )
# handle the QUIETLY and REQUIRED arguments and set GANGSTA_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE( "FindPackageHandleStandardArgs" )
FIND_PACKAGE_HANDLE_STANDARD_ARGS( "Gangsta" DEFAULT_MSG GANGSTA_INCLUDE_DIR GANGSTA_LIBRARIES )
MARK_AS_ADVANCED( GANGSTA_INCLUDE_DIR GANGSTA_LIBRARIES )
Something went wrong with that request. Please try again.