Warning, /graphics/digikam/core/cmake/rules/RulesLiblensfun.cmake is written in an unsupported language. File is not indexed.

0001 #
0002 # SPDX-FileCopyrightText: 2010-2024 by Gilles Caulier, <caulier dot gilles at gmail dot com>
0003 #
0004 # SPDX-License-Identifier: BSD-3-Clause
0005 #
0006 
0007 find_package(LensFun)
0008 
0009 if(LENSFUN_VERSION)
0010 
0011     message(STATUS "liblensfun: Found version ${LENSFUN_VERSION} (required: ${LENSFUN_MIN_VERSION})")
0012 
0013     if(${LENSFUN_VERSION} VERSION_LESS ${LENSFUN_MIN_VERSION})
0014 
0015         set(LensFun_FOUND FALSE)
0016 
0017     endif()
0018 
0019 else()
0020 
0021     message(STATUS "liblensfun: Version information not found, your version is probably too old.")
0022     set(LensFun_FOUND FALSE)
0023 
0024 endif()