Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (41 sloc) 1.61 KB
################################################################################
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY #
# Please refer to the README for information about making permanent changes. #
################################################################################
if (NOT MSVC)
include(FindPkgConfig)
pkg_check_modules(PC_UUID "uuid")
if (NOT PC_UUID_FOUND)
pkg_check_modules(PC_UUID "uuid")
endif (NOT PC_UUID_FOUND)
if (PC_UUID_FOUND)
# some libraries install the headers is a subdirectory of the include dir
# returned by pkg-config, so use a wildcard match to improve chances of finding
# headers and SOs.
set(PC_UUID_INCLUDE_HINTS ${PC_UUID_INCLUDE_DIRS} ${PC_UUID_INCLUDE_DIRS}/*)
set(PC_UUID_LIBRARY_HINTS ${PC_UUID_LIBRARY_DIRS} ${PC_UUID_LIBRARY_DIRS}/*)
endif(PC_UUID_FOUND)
endif (NOT MSVC)
find_path (
UUID_INCLUDE_DIRS
NAMES uuid/uuid.h
HINTS ${PC_UUID_INCLUDE_HINTS}
)
find_library (
UUID_LIBRARIES
NAMES uuid
HINTS ${PC_UUID_LIBRARY_HINTS}
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
UUID
REQUIRED_VARS UUID_LIBRARIES UUID_INCLUDE_DIRS
)
mark_as_advanced(
UUID_FOUND
UUID_LIBRARIES UUID_INCLUDE_DIRS
)
################################################################################
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY #
# Please refer to the README for information about making permanent changes. #
################################################################################