Skip to content

Commit 0a91e78

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chsql/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include_directories(
1919
../duckdb/third_party/thrift
2020
../duckdb/third_party/snappy
2121
../duckdb/third_party/zstd/include
22-
../duckdb/third_party/mbedtls/include
22+
# ../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)
2525
# Exclude mbedtls/version from the build
@@ -30,8 +30,8 @@ set_source_files_properties(
3030
build_static_extension(${TARGET_NAME} ${EXTENSION_SOURCES})
3131
build_loadable_extension(${TARGET_NAME} " " ${EXTENSION_SOURCES})
3232
# Link OpenSSL in both the static library as the loadable extension
33-
target_link_libraries(${EXTENSION_NAME} OpenSSL::SSL OpenSSL::Crypto)
34-
target_link_libraries(${LOADABLE_EXTENSION_NAME} OpenSSL::SSL OpenSSL::Crypto)
33+
target_link_libraries(${EXTENSION_NAME} OpenSSL::SSL OpenSSL::Crypto duckdb_mbedtls)
34+
target_link_libraries(${LOADABLE_EXTENSION_NAME} OpenSSL::SSL OpenSSL::Crypto duckdb_mbedtls)
3535
install(
3636
TARGETS ${EXTENSION_NAME}
3737
EXPORT "${DUCKDB_EXPORT_SET}"

0 commit comments

Comments
 (0)