1 # Copyright Raimar Sandner 2012–2014. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt)
4 #! \ingroup FindPackage
7 #! Once done, this will define
9 #! - `flens_FOUND` - system has flens
10 #! - `flens_INCLUDE_DIRS` - the flens include directories
13 find_package(PkgConfig QUIET)
14 pkg_check_modules(flens_PKGCONF QUIET flens)
18 find_path(flens_INCLUDE_DIR
20 PATHS ${flens_PKGCONF_INCLUDE_DIRS}
23 # Set the include dir variables and the libraries and let libfind_process do the rest.
24 # NOTE: Singular variables for this library, plural for libraries this this lib depends on.
25 set(flens_PROCESS_INCLUDES flens_INCLUDE_DIR)
26 libfind_process(flens)