aboutsummaryrefslogtreecommitdiff
path: root/ports/libodb/odbConfig.cmake
blob: f3037bde167451f9598af1689994e26c3d6a012f (plain)
1
2
3
4
5
6
7
8
9
10
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)