Warning, /sdk/massif-visualizer/cmake/FindKGraphViewer.cmake is written in an unsupported language. File is not indexed.
0001 # 0002 # Find the KGraphViewer library and sets various variables accordingly 0003 # 0004 # Example usage of this module: 0005 # find_package(KGraphViewer 2.1 REQUIRED) 0006 # 0007 # The version number and REQUIRED flag are optional. You can set CMAKE_PREFIX_PATH 0008 # variable to help it find the required files and directories 0009 # 0010 # this will set the following variables: 0011 # KGRAPHVIEWER_LIBRARIES - KGraphViewer library 0012 # KGRAPHVIEWER_FOUND - Whether KGraphViewer was found 0013 # KGRAPHVIEWER_INCLUDE_DIRECTORIES - Include directories for the KGraphViewer library 0014 # 0015 # Copyright 2010 Milian Wolff <mail@milianw.de> 0016 # Redistribution and use is allowed according to the terms of the BSD license. 0017 0018 find_path( KGRAPHVIEWER_INCLUDE_DIRECTORIES 0019 NAMES kgraphviewer_interface.h 0020 HINTS 0021 ${KGRAPHVIEWER_INCLUDE_DIRS} 0022 /usr/local/include 0023 /usr/include 0024 PATH_SUFFIXES kgraphviewer 0025 ) 0026 0027 find_library( KGRAPHVIEWER_LIBRARIES 0028 NAMES kgraphviewer 0029 HINTS 0030 ${KGRAPHVIEWER_LIBRARY_DIRS} 0031 /usr/local/lib64 0032 /usr/lib64 0033 /usr/local/lib 0034 /usr/lib 0035 ) 0036 0037 include(FindPackageHandleStandardArgs) 0038 0039 # handle the QUIETLY and REQUIRED arguments and set KGRAPHVIEWER_FOUND to TRUE if 0040 # all listed variables are TRUE 0041 find_package_handle_standard_args(KGRAPHVIEWER DEFAULT_MSG KGRAPHVIEWER_LIBRARIES KGRAPHVIEWER_INCLUDE_DIRECTORIES)