Warning, /frameworks/baloo/cmake/FindLMDB.cmake is written in an unsupported language. File is not indexed.
0001 # Try to find the LMBD libraries and headers 0002 # LMDB_FOUND - system has LMDB lib 0003 # LMDB_INCLUDE_DIR - the LMDB include directory 0004 # LMDB_LIBRARIES - Libraries needed to use LMDB 0005 0006 # FindCWD based on FindGMP by: 0007 # SPDX-FileCopyrightText: 2006 Laurent Montel <montel@kde.org> 0008 # 0009 # Redistribution and use is allowed according to the terms of the BSD license. 0010 0011 # Adapted from FindCWD by: 0012 # SPDX-FileCopyrightText: 2013 Conrad Steenberg <conrad.steenberg@gmail.com> 0013 # Aug 31, 2013 0014 0015 if (LMDB_INCLUDE_DIRS AND LMDB_LIBRARIES) 0016 # Already in cache, be silent 0017 set(LMDB_FIND_QUIETLY TRUE) 0018 endif (LMDB_INCLUDE_DIRS AND LMDB_LIBRARIES) 0019 0020 find_path(LMDB_INCLUDE_DIRS NAMES "lmdb.h" HINTS "$ENV{LMDB_DIR}/include") 0021 find_library(LMDB_LIBRARIES NAMES lmdb liblmdb HINTS $ENV{LMDB_DIR}/lib ) 0022 0023 include(FindPackageHandleStandardArgs) 0024 FIND_PACKAGE_HANDLE_STANDARD_ARGS(LMDB DEFAULT_MSG LMDB_INCLUDE_DIRS LMDB_LIBRARIES) 0025 0026 mark_as_advanced(LMDB_INCLUDE_DIRS LMDB_LIBRARIES) 0027 0028 MESSAGE(STATUS "LMDB lib: " ${LMDB_LIBRARIES} ) 0029 MESSAGE(STATUS "LMDB include: " ${LMDB_INCLUDE_DIRS} )