Debian Codegraph @

cmake/Modules/FindLiquid.cmake

raw
1 # - Find LIQUID
2 # Find the native LIQUID includes and library
3 #
4 # LIQUID_INCLUDES - where to find LIQUID.h
5 # LIQUID_LIBRARIES - List of libraries when using LIQUID.
6 # LIQUID_FOUND - True if LIQUID found.
7
8 if (LIQUID_INCLUDES)
9 # Already in cache, be silent
10 set (LIQUID_FIND_QUIETLY TRUE)
11 endif (LIQUID_INCLUDES)
12
13 find_path (LIQUID_INCLUDES liquid/liquid.h)
14
15 find_library (LIQUID_LIBRARIES NAMES liquid)
16
17 # handle the QUIETLY and REQUIRED arguments and set LIQUID_FOUND to TRUE if
18 # all listed variables are TRUE
19 include (FindPackageHandleStandardArgs)
20 find_package_handle_standard_args (LIQUID DEFAULT_MSG LIQUID_LIBRARIES LIQUID_INCLUDES)
21
22 #mark_as_advanced (LIQUID_LIBRARIES LIQUID_INCLUDES)