mirror of https://github.com/microsoft/vcpkg.git
8 lines
331 B
CMake
8 lines
331 B
CMake
file(READ "${CMAKE_CURRENT_LIST_DIR}/usage" usage)
|
|
message(WARNING "find_package(unixodbc) is deprecated.\n${usage}")
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(unofficial-unixodbc CONFIG REQUIRED)
|
|
if(NOT TARGET UNIX::odbc)
|
|
add_library(#[[skip-usage-heuristics]] UNIX::odbc ALIAS unofficial::unixodbc::unixodbc)
|
|
endif()
|