blob: 75be2c594fe5809b1a1acdd6d5063ec21aef52c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
FIND_PATH(SHOUT_INCLUDE_DIR PATH_SUFFIXES "shout" NAMES shout.h)
# Look for the library.
FIND_LIBRARY(SHOUT_LIBRARY NAMES shout)
# Handle the QUIETLY and REQUIRED arguments and set SHOUT_FOUND to TRUE if all listed variables are TRUE.
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SHOUT DEFAULT_MSG SHOUT_LIBRARY SHOUT_INCLUDE_DIR)
# Copy the results to the output variables.
IF(SHOUT_FOUND)
SET(SHOUT_LIBRARIES ${SHOUT_LIBRARY})
SET(SHOUT_INCLUDE_DIRS ${SHOUT_INCLUDE_DIR})
ELSE(SHOUT_FOUND)
SET(SHOUT_LIBRARIES)
SET(SHOUT_INCLUDE_DIRS)
ENDIF(SHOUT_FOUND)
MARK_AS_ADVANCED(SHOUT_INCLUDE_DIRS SHOUT_LIBRARIES)
|