Warning, /education/kalzium/cmake/modules/FindLibfacile.cmake is written in an unsupported language. File is not indexed.
0001 # - Try to find Libfacile 0002 # Once done this will define 0003 # 0004 # LIBFACILE_FOUND - system has Libfacile 0005 # LIBFACILE_INCLUDE_DIR - the Libfacile include directory 0006 # LIBFACILE_LIBRARIES - Link these to use Libfacile 0007 # 0008 # SPDX-FileCopyrightText: 2006 Carsten Niehaus <cniehaus@gmx.de> 0009 # SPDX-FileCopyrightText: 2006 Montel Laurent <montel@kde.org> 0010 # SPDX-License-Identifier: BSD-3-Clause 0011 0012 find_package(OCaml) 0013 0014 if( OCAML_FOUND ) 0015 find_library(LIBFACILE_LIBRARIES NAMES facile.a 0016 HINTS ${OCAMLC_DIR} 0017 PATH_SUFFIXES facile ocaml/facile 0018 ) 0019 find_path(LIBFACILE_INCLUDE_DIR NAMES facile.cmi 0020 HINTS ${OCAMLC_DIR} 0021 PATH_SUFFIXES facile lib/ocaml/facile 0022 ) 0023 endif() 0024 0025 include(FindPackageHandleStandardArgs) 0026 find_package_handle_standard_args(Libfacile DEFAULT_MSG LIBFACILE_INCLUDE_DIR 0027 LIBFACILE_LIBRARIES OCAML_FOUND) 0028 0029 # show the LIBFACILE_INCLUDE_DIR and LIBFACILE_LIBRARIES variables only in the advanced view 0030 mark_as_advanced(LIBFACILE_INCLUDE_DIR LIBFACILE_LIBRARIES ) 0031