vcpkg/ports/libcbor/LibCborConfig.cmake
Sönke Schau d4c34fd271
[libcbor] New port (#16884)
* [libcbor] Initial commit

* [libcbor] Add metadata

* Changes made by vcpkg.exe format-manifest --all

* Changes made by vcpkg.exe x-add-version libcbor --overwrite-version
2021-03-29 09:25:14 -07:00

14 lines
371 B
CMake

# Distributed under the OSI-approved BSD 3-Clause License.
find_path(LIBCBOR_INCLUDE_DIR NAMES cbor.h)
find_library(LIBCBOR_LIBRARY cbor)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LIBCBOR DEFAULT_MSG LIBCBOR_LIBRARY LIBCBOR_INCLUDE_DIR)
if(LIBCBOR_FOUND)
set(LIBCBOR_LIBRARIES ${LIBCBOR_LIBRARY})
endif()
mark_as_advanced(LIBCBOR_INCLUDE_DIR LIBCBOR_LIBRARY)