BASIS  version 1.2.3 (revision 2104)
FindBASH.cmake
Go to the documentation of this file.
00001 ##############################################################################
00002 # @file  FindBASH.cmake
00003 # @brief Find BASH interpreter.
00004 #
00005 # Sets the CMake variables @c BASH_FOUND and @c BASH_EXECUTABLE.
00006 #
00007 # Copyright (c) 2012 University of Pennsylvania. All rights reserved.<br />
00008 # See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.
00009 #
00010 # Contact: SBIA Group <sbia-software at uphs.upenn.edu>
00011 #
00012 # @ingroup CMakeFindModules
00013 ##############################################################################
00014 
00015 # ----------------------------------------------------------------------------
00016 # find BASH executable
00017 find_program (BASH_EXECUTABLE bash)
00018 mark_as_advanced (BASH_EXECUTABLE)
00019 
00020 # ----------------------------------------------------------------------------
00021 # handle the QUIETLY and REQUIRED arguments and set *_FOUND to TRUE
00022 # if all listed variables are found or TRUE
00023 include (FindPackageHandleStandardArgs)
00024 
00025 find_package_handle_standard_args (
00026   BASH
00027   REQUIRED_VARS
00028     BASH_EXECUTABLE
00029 )