mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 09:39:01 +08:00
fb4cc37262
* [czmq] Add new port * [czmq] Modernize * [czmq] Update to 2019-05-17 * [czmq] Update to 2019-05-29 * [czmq] Fix OpenSSL not found issue on x64-windows * [czmq] Update portfile.cmake * [czmq] Update to 2019-06-10 * [czmq] Clean * [czmq] Add Homepage * [czmq] Use vcpkg_check_features * [czmq] Disable parallel configuration * Fix typo when using feature options
32 lines
571 B
CMake
32 lines
571 B
CMake
find_path(
|
|
UUID_INCLUDE_DIRS
|
|
NAMES uuid/uuid.h
|
|
)
|
|
|
|
get_filename_component(_prefix_path ${UUID_INCLUDE_DIRS} PATH)
|
|
|
|
find_library(
|
|
UUID_LIBRARY_DEBUG
|
|
NAMES uuid
|
|
PATHS ${_prefix_path}/debug/lib
|
|
NO_DEFAULT_PATH
|
|
)
|
|
|
|
find_library(
|
|
UUID_LIBRARY_RELEASE
|
|
NAMES uuid
|
|
PATHS ${_prefix_path}/lib
|
|
NO_DEFAULT_PATH
|
|
)
|
|
|
|
unset(_prefix_path)
|
|
|
|
include(SelectLibraryConfigurations)
|
|
select_library_configurations(UUID)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(
|
|
UUID
|
|
REQUIRED_VARS UUID_LIBRARIES UUID_INCLUDE_DIRS
|
|
)
|