Salome HOME
Introduction of CMake build procedure for YACS module.
[modules/yacs.git] / adm / cmake / FindSphinx.cmake
1 # - Sphinx detection
2 #
3 # Output variable: SPHINX_EXECUTABLE
4 #                  
5
6 # The executable 'sphinx-build' is looked for and returned in the above variable.
7 #
8
9 ###########################################################################
10 # Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
11 #
12 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
13 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
14 #
15 # This library is free software; you can redistribute it and/or
16 # modify it under the terms of the GNU Lesser General Public
17 # License as published by the Free Software Foundation; either
18 # version 2.1 of the License.
19 #
20 # This library is distributed in the hope that it will be useful,
21 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
23 # Lesser General Public License for more details.
24 #
25 # You should have received a copy of the GNU Lesser General Public
26 # License along with this library; if not, write to the Free Software
27 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
28 #
29 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
30 #
31 ###########################################################################
32
33 FIND_PROGRAM(SPHINX_EXECUTABLE sphinx-build)
34
35 # Handle the standard arguments of the find_package() command:
36 INCLUDE(FindPackageHandleStandardArgs)
37 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Sphinx REQUIRED_VARS SPHINX_EXECUTABLE)
38