mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 11:41:36 +08:00
6 lines
254 B
CMake
6 lines
254 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)
|
||
|
add_library(libffi ALIAS unofficial::libffi::libffi)
|