mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-16 00:51:49 -05:00
23 lines
711 B
CMake
23 lines
711 B
CMake
# - Find LIQUID
|
|
# Find the native LIQUID includes and library
|
|
#
|
|
# LIQUID_INCLUDES - where to find LIQUID3.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)
|