Warning, /graphics/kgraphviewer/cmake/FindDOT.cmake is written in an unsupported language. File is not indexed.
0001 # Copyright (c) 2018, Raphael Kubo da Costa <rakuco@FreeBSD.org> 0002 # 0003 # Redistribution and use in source and binary forms, with or without 0004 # modification, are permitted provided that the following conditions are met: 0005 # 0006 # * Redistributions of source code must retain the above copyright notice, this 0007 # list of conditions and the following disclaimer. 0008 # * Redistributions in binary form must reproduce the above copyright notice, 0009 # this list of conditions and the following disclaimer in the documentation 0010 # and/or other materials provided with the distribution. 0011 # * Neither the name of Intel Corporation nor the names of its contributors may 0012 # be used to endorse or promote products derived from this software without 0013 # specific prior written permission. 0014 # 0015 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 0016 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 0017 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 0018 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 0019 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 0020 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 0021 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 0022 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 0023 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 0024 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 0025 # POSSIBILITY OF SUCH DAMAGE. 0026 # 0027 # Try to find the dot program. 0028 # 0029 # After successful discovery, this will set for inclusion where needed: 0030 # DOT_FOUND - True if dot(1) has been found 0031 # DOT_EXECUTABLE - the full path to the dot(1) tool 0032 0033 find_program(DOT_EXECUTABLE dot) 0034 0035 include(FindPackageHandleStandardArgs) 0036 find_package_handle_standard_args(DOT 0037 REQUIRED_VARS DOT_EXECUTABLE)