2015-09-13 22:18:29 -04:00
|
|
|
# - Find LIQUID
|
|
|
|
# Find the native LIQUID includes and library
|
|
|
|
#
|
2015-11-09 22:05:12 -05:00
|
|
|
# LIQUID_INCLUDES - where to find LIQUID.h
|
2015-09-13 22:18:29 -04:00
|
|
|
# LIQUID_LIBRARIES - List of libraries when using LIQUID.
|
|
|
|
# LIQUID_FOUND - True if LIQUID found.
|
|
|
|
|
|
|
|
if (LIQUID_INCLUDES)
|
|
|
|
# Already in cache, be silent
|
|
|
|
set (LIQUID_FIND_QUIETLY TRUE)
|
|
|
|
endif (LIQUID_INCLUDES)
|
|
|
|
|
|
|
|
find_path (LIQUID_INCLUDES liquid/liquid.h)
|
|
|
|
|
|
|
|
find_library (LIQUID_LIBRARIES NAMES liquid)
|
|
|
|
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set LIQUID_FOUND to TRUE if
|
|
|
|
# all listed variables are TRUE
|
|
|
|
include (FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args (LIQUID DEFAULT_MSG LIQUID_LIBRARIES LIQUID_INCLUDES)
|
|
|
|
|
2015-11-09 22:05:12 -05:00
|
|
|
#mark_as_advanced (LIQUID_LIBRARIES LIQUID_INCLUDES)
|