vcpkg/ports/libodb/odbConfig.cmake

10 lines
348 B
CMake
Raw Normal View History

2016-11-22 13:07:05 -05:00
set(_supported_components libodb sqlite pgsql)
2016-10-19 00:30:28 -04:00
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)