Skip to content

Commit e7a59d4

Browse files
Lorenzo ManganiLorenzo Mangani
Lorenzo Mangani
authored and
Lorenzo Mangani
committed
resync
1 parent 460a7c8 commit e7a59d4

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ cmake_minimum_required(VERSION 3.5)
33
# Set extension name here
44
set(TARGET_NAME redis)
55

6-
# DuckDB's extension distribution supports vcpkg
7-
find_package(Boost REQUIRED)
8-
96
set(EXTENSION_NAME ${TARGET_NAME}_extension)
107
set(LOADABLE_EXTENSION_NAME ${TARGET_NAME}_loadable_extension)
118

@@ -17,14 +14,6 @@ set(EXTENSION_SOURCES src/redis_extension.cpp)
1714
build_static_extension(${TARGET_NAME} ${EXTENSION_SOURCES})
1815
build_loadable_extension(${TARGET_NAME} " " ${EXTENSION_SOURCES})
1916

20-
# Link against Boost
21-
target_link_libraries(${EXTENSION_NAME} PRIVATE Boost::boost)
22-
target_link_libraries(${LOADABLE_EXTENSION_NAME} PRIVATE Boost::boost)
23-
24-
# Define REDISCPP_HEADER_ONLY to use redis-cpp as header-only
25-
target_compile_definitions(${EXTENSION_NAME} PRIVATE REDISCPP_HEADER_ONLY)
26-
target_compile_definitions(${LOADABLE_EXTENSION_NAME} PRIVATE REDISCPP_HEADER_ONLY)
27-
2817
install(
2918
TARGETS ${EXTENSION_NAME}
3019
EXPORT "${DUCKDB_EXPORT_SET}"

vcpkg.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"version": "0.1.0",
44
"dependencies": [
55
{
6-
"name": "boost",
7-
"features": ["asio"]
6+
"name": "boost-asio"
87
}
98
]
109
}

0 commit comments

Comments
 (0)