forked from duckdb/duckdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDuckDBConfig.cmake.in
More file actions
28 lines (23 loc) · 853 Bytes
/
DuckDBConfig.cmake.in
File metadata and controls
28 lines (23 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Config file for DuckDB package
# It defines the following variables
#
# DuckDB_INCLUDE_DIRS - include directories for DuckDB
# DuckDB_LIBRARIES - libraries to link against
# DuckDB_EXTENSIONS - names of extensions included in this installation
set(DuckDB_EXTENSIONS "@DUCKDB_EXTENSION_NAMES@")
include(CMakeFindDependencyMacro)
find_dependency(Threads)
if("icu" IN_LIST DuckDB_EXTENSIONS AND NOT @WITH_INTERNAL_ICU@)
find_dependency(ICU COMPONENTS i18n uc data)
endif()
# Compute paths
get_filename_component(DuckDB_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(DuckDB_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
if(NOT TARGET duckdb AND NOT DuckDB_BINARY_DIR)
include("${DuckDB_CMAKE_DIR}/DuckDBExports.cmake")
endif()
if(DuckDB_USE_STATIC_LIBS)
set(DuckDB_LIBRARIES duckdb_static)
else()
set(DuckDB_LIBRARIES duckdb)
endif()