1 # - Try to find ELEMENTARY
2 # Once done, this will define
4 # ELEMENTARY_FOUND - system has libelm
5 # ELEMENTARY_INCLUDE_DIRS - the libelm include directories
6 # ELEMENTARY_LIBRARIES - link these to use libelm
10 # Use pkg-config to get hints about paths
11 libfind_pkg_check_modules(ELEMENTARY_PKGCONF elementary)
13 # Set the include dir variables and the libraries and let libfind_process do the rest.
14 # NOTE: Singular variables for this library, plural for libraries this this lib depends on.
15 set(ELEMENTARY_PROCESS_INCLUDES ELEMENTARY_PKGCONF_INCLUDE_DIRS)
16 set(ELEMENTARY_PROCESS_LIBS ELEMENTARY_PKGCONF_LIBRARIES)
17 libfind_process(ELEMENTARY)