yuzu/externals/vcpkg/ports/libcbor/LibCborConfig.cmake
2022-07-23 03:01:36 +02:00

14 lines
371 B
CMake
Executable File

# 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)