Skip to content

Commit 104bec6

Browse files
committed
Skip conditionally also httpfs_client.cpp
1 parent 9bf98ef commit 104bec6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include_directories(extension/httpfs/include
1010
${DUCKDB_MODULE_BASE_DIR}/third_party/httplib)
1111

1212
if (NOT EMSCRIPTEN)
13-
set(EXTRA_SOURCES "extension/httpfs/crypto.cpp")
13+
set(EXTRA_SOURCES extension/httpfs/crypto.cpp extension/httpfs/httpfs_client.cpp)
1414
add_definitions(-DOVERRIDE_ENCRYPTION_UTILS=1)
1515
endif()
1616

@@ -19,13 +19,12 @@ build_static_extension(
1919
extension/httpfs/hffs.cpp
2020
extension/httpfs/s3fs.cpp
2121
extension/httpfs/httpfs.cpp
22-
extension/httpfs/httpfs_client.cpp
2322
extension/httpfs/http_state.cpp
2423
extension/httpfs/crypto.cpp
2524
extension/httpfs/hash_functions.cpp
2625
extension/httpfs/create_secret_functions.cpp
2726
extension/httpfs/httpfs_extension.cpp
28-
${EXTRA_SOURCES})
27+
${EXTRA_SOURCES} )
2928

3029
set(PARAMETERS "-warnings")
3130
build_loadable_extension(
@@ -34,13 +33,12 @@ build_loadable_extension(
3433
extension/httpfs/hffs.cpp
3534
extension/httpfs/s3fs.cpp
3635
extension/httpfs/httpfs.cpp
37-
extension/httpfs/httpfs_client.cpp
3836
extension/httpfs/http_state.cpp
3937
extension/httpfs/crypto.cpp
4038
extension/httpfs/hash_functions.cpp
4139
extension/httpfs/create_secret_functions.cpp
4240
extension/httpfs/httpfs_extension.cpp
43-
${EXTRA_SOURCES})
41+
${EXTRA_SOURCES} )
4442

4543
if(MINGW)
4644
set(OPENSSL_USE_STATIC_LIBS TRUE)

0 commit comments

Comments
 (0)