summaryrefslogtreecommitdiffstats
path: root/cmake/FindDEXELA.cmake
blob: 0412b190a9813bd8323ac337b9a48414e118dbf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Try to find libdexela.so
#
# Defines
#
# DEXELA_FOUND - system has libdexela
# DEXELA_INCLUDE_DIRS - libdexela include directory
# DEXELA_LIBRARIES - dexela library

find_package(PackageHandleStandardArgs)

find_path(DEXELA_INCLUDE_DIRS dexela_api.h PATHS /usr/include)
find_library(DEXELA_LIBRARIES dexela)

find_package_handle_standard_args(DEXELA DEFAULT_MSG DEXELA_LIBRARIES DEXELA_INCLUDE_DIRS)

mark_as_advanced(
    DEXELA_INCLUDE_DIRS
    DEXELA_LIBRARIES
)

message("-- Dexela libraries found: ${DEXELA_FOUND}")