/usr/lib/VTKEdge/CMake/FindUUID.cmake is in libvtkedge-dev 0.2.0~20110819-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | ##=============================================================================
## This file is part of VTKEdge. See vtkedge.org for more information.
##
## Copyright (c) 2010 Kitware, Inc.
##
## VTKEdge may be used under the terms of the BSD License
## Please see the file Copyright.txt in the root directory of
## VTKEdge for further information.
##
## Alternatively, you may see:
##
## http://www.vtkedge.org/vtkedge/project/license.html
##
##
## For custom extensions, consulting services, or training, please
## this or any other Kitware supported open source project, please
## contact Kitware at sales@kitware.com.
##
##
##=============================================================================
# - Find UUID
# Find the native UUID includes and library
# This module defines
# UUID_INCLUDE_DIR, where to find jpeglib.h, etc.
# UUID_LIBRARIES, the libraries needed to use UUID.
# UUID_FOUND, If false, do not try to use UUID.
# also defined, but not for general use are
# UUID_LIBRARY, where to find the UUID library.
FIND_PATH(UUID_INCLUDE_DIR uuid/uuid.h
/usr/local/include
/usr/include
)
FIND_LIBRARY(UUID_LIBRARY
NAMES uuid
PATHS /lib /usr/lib /usr/local/lib
)
IF (UUID_LIBRARY AND UUID_INCLUDE_DIR)
SET(UUID_LIBRARIES ${UUID_LIBRARY})
SET(UUID_FOUND "YES")
ELSE (UUID_LIBRARY AND UUID_INCLUDE_DIR)
SET(UUID_FOUND "NO")
ENDIF (UUID_LIBRARY AND UUID_INCLUDE_DIR)
IF (UUID_FOUND)
IF (NOT UUID_FIND_QUIETLY)
MESSAGE(STATUS "Found UUID: ${UUID_LIBRARIES}")
ENDIF (NOT UUID_FIND_QUIETLY)
ELSE (UUID_FOUND)
IF (UUID_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find UUID library")
ENDIF (UUID_FIND_REQUIRED)
ENDIF (UUID_FOUND)
# Deprecated declarations.
#SET (NATIVE_UUID_INCLUDE_PATH ${UUID_INCLUDE_DIR} )
#GET_FILENAME_COMPONENT (NATIVE_UUID_LIB_PATH ${UUID_LIBRARY} PATH)
MARK_AS_ADVANCED(
UUID_LIBRARY
UUID_INCLUDE_DIR
)
|