mirror of
https://github.com/getml/sqlgen.git
synced 2025-12-18 07:54:18 -06:00
31 lines
569 B
CMake
31 lines
569 B
CMake
@PACKAGE_INIT@
|
|
|
|
set(SQLGEN_DUCKDB @SQLGEN_DUCKDB@)
|
|
set(SQLGEN_MYSQL @SQLGEN_MYSQL@)
|
|
set(SQLGEN_POSTGRES @SQLGEN_POSTGRES@)
|
|
set(SQLGEN_SQLITE3 @SQLGEN_SQLITE3@)
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/sqlgen-exports.cmake)
|
|
|
|
find_dependency(reflectcpp)
|
|
|
|
if(SQLGEN_DUCKDB)
|
|
find_dependency(DuckDB)
|
|
endif()
|
|
|
|
if(SQLGEN_MYSQL)
|
|
find_dependency(unofficial-libmariadb)
|
|
endif()
|
|
|
|
if(SQLGEN_POSTGRES)
|
|
find_dependency(PostgreSQL)
|
|
endif()
|
|
|
|
if(SQLGEN_SQLITE3)
|
|
find_dependency(unofficial-sqlite3)
|
|
endif()
|
|
|
|
check_required_components(sqlgen)
|