Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jan 3, 2025
1 parent ccf65b2 commit 0d67955
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chsql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,17 @@ else()
include_directories(
./src/include
./src
${CMAKE_CURRENT_SOURCE_DIR}/../duckdb/extension/parquet/include
)
endif()

set(EXTENSION_SOURCES
src/chsql_extension.cpp
src/duck_flock.cpp
)

# Include clickhouse_scan for supported platforms
if(NOT EMSCRIPTEN OR NOT MINGW)
list(APPEND EXTENSION_SOURCES src/clickhouse_scan.cpp)
list(APPEND EXTENSION_SOURCES src/clickhouse_scan.cpp src/duck_flock.cpp
)
endif()

build_static_extension(${TARGET_NAME} ${EXTENSION_SOURCES})
Expand Down

0 comments on commit 0d67955

Please sign in to comment.