File: FindLiquid.cmake

package info (click to toggle)
cubicsdr 0.2.7%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,560 kB
  • sloc: cpp: 32,850; sh: 60; makefile: 6
file content (22 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# - Find LIQUID
# Find the native LIQUID includes and library
#
#  LIQUID_INCLUDES    - where to find LIQUID.h
#  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)

#mark_as_advanced (LIQUID_LIBRARIES LIQUID_INCLUDES)