Skip to content

Commit

Permalink
Fix extension ci
Browse files Browse the repository at this point in the history
  • Loading branch information
acquamarin committed Apr 15, 2024
1 parent fe1eccc commit a5a6548
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 8 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,6 @@ if (MSVC AND (NOT BUILD_EXTENSIONS EQUAL ""))
set(BUILD_KUZU TRUE)
endif ()

if(${BUILD_KUZU})
add_definitions(-DKUZU_ROOT_DIRECTORY="${PROJECT_SOURCE_DIR}")
add_definitions(-DKUZU_CMAKE_VERSION="${CMAKE_PROJECT_VERSION}")
add_definitions(-DKUZU_EXTENSION_VERSION="0.2.5")

include_directories(src/include)
include_directories(third_party/antlr4_cypher/include)
include_directories(third_party/antlr4_runtime/src)
include_directories(third_party/fast_float/include)
Expand All @@ -218,6 +212,14 @@ include_directories(third_party/httplib)
include_directories(third_party/pcg)

add_subdirectory(third_party)

if(${BUILD_KUZU})
add_definitions(-DKUZU_ROOT_DIRECTORY="${PROJECT_SOURCE_DIR}")
add_definitions(-DKUZU_CMAKE_VERSION="${CMAKE_PROJECT_VERSION}")
add_definitions(-DKUZU_EXTENSION_VERSION="0.2.5")

include_directories(src/include)

add_subdirectory(src)
if (${BUILD_TESTS})
add_definitions(-DTEST_FILES_DIR="test/test_files")
Expand Down
1 change: 0 additions & 1 deletion extension/httpfs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ add_compile_definitions(CPPHTTPLIB_OPENSSL_SUPPORT)
include_directories(
${PROJECT_SOURCE_DIR}/src/include
${PROJECT_SOURCE_DIR}/third_party/httplib
${PROJECT_SOURCE_DIR}/third_party/mbedtls/include
src/include)

add_library(httpfs
Expand Down

0 comments on commit a5a6548

Please sign in to comment.