mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 11:29:02 +08:00
7c89056c07
* [libodb-mysql] Fix usage * update version record * Revert changes about target name, add usage * [libodb] Add component mysql * update version record
10 lines
354 B
CMake
10 lines
354 B
CMake
set(_supported_components libodb sqlite mysql pgsql)
|
|
|
|
foreach(_comp ${odb_FIND_COMPONENTS})
|
|
if(NOT ";${_supported_components};" MATCHES _comp)
|
|
set(odb_FOUND False)
|
|
set(odb_NOTFOUND_MESSAGE "Unsupported component: ${_comp}")
|
|
endif()
|
|
include("${CMAKE_CURRENT_LIST_DIR}/odb_${_comp}Config.cmake")
|
|
endforeach()
|
|
set(odb_FOUND True) |