mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 01:29:08 +08:00
8 lines
288 B
CMake
8 lines
288 B
CMake
file(READ "${CMAKE_CURRENT_LIST_DIR}/usage" usage)
|
|
message(WARNING "find_package(libffi) is deprecated.\n${usage}")
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(unofficial-libffi CONFIG REQUIRED)
|
|
if(NOT TARGET libffi)
|
|
add_library(libffi ALIAS unofficial::libffi::libffi)
|
|
endif()
|