Warning, /office/calligra/cmake/modules/FindCauchy.cmake is written in an unsupported language. File is not indexed.

0001 # - Try to find Cauchy lib
0002 # Once done this will define
0003 #
0004 #  CAUCHY_FOUND - tell whether cauchy is installed
0005 #  M2MML_FOUND - tell if the M2MML library is installed
0006 #  CAUCHY_INCLUDE_DIR - the cauchy include directory
0007 #  M2MML_LIBRARY - the M2MML library
0008 
0009 # Copyright (c) 2011, Cyrille Berger <cberger@cberger.net>
0010 # Redistribution and use is allowed according to the terms of the BSD license.
0011 
0012 find_path(CAUCHY_INCLUDE_DIR m2mml.h
0013 /usr/local/include
0014 /usr/include
0015 )
0016 
0017 find_library(M2MML_LIBRARY
0018   NAMES m2mml
0019   PATHS /usr/lib /usr/local/lib )
0020 
0021 if (CAUCHY_INCLUDE_DIR)
0022   set(CAUCHY_FOUND "YES")
0023 else ()
0024   set(CAUCHY_FOUND "NO")
0025 endif ()
0026 
0027 if(CAUCHY_FOUND AND M2MML_LIBRARY)
0028   set(M2MML_FOUND "YES")
0029 else ()
0030   set(M2MML_FOUND "NO")
0031 endif ()