Skip to content

Commit 00fada3

Browse files
authored
Update CMakeLists.txt
1 parent 1b278ee commit 00fada3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

chsql/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ include_directories(
2222
../duckdb/third_party/mbedtls/include
2323
../duckdb/third_party/brotli/include)
2424
set(EXTENSION_SOURCES src/chsql_extension.cpp src/duck_flock.cpp src/chsql_system.cpp src/parquet_types.cpp)
25+
# Exclude mbedtls/version from the build
26+
set_source_files_properties(
27+
${CMAKE_SOURCE_DIR}/third_party/mbedtls/version
28+
PROPERTIES HEADER_FILE_ONLY TRUE
29+
)
2530
build_static_extension(${TARGET_NAME} ${EXTENSION_SOURCES})
2631
build_loadable_extension(${TARGET_NAME} " " ${EXTENSION_SOURCES})
2732
# Link OpenSSL in both the static library as the loadable extension

0 commit comments

Comments
 (0)