Skip to content

Commit c878d66

Browse files
authored
fix: move vcpkg.json to subdir (#2821)
This is to get around the following DuckDB CMake warning: ``` CMake Warning at CMakeLists.txt:1340 (message): Extension 'vortex' has a vcpkg.json, but build was not run with VCPKG. If build fails, check out VCPKG build instructions in 'duckdb/extension/README.md' or try manually installing the dependencies in .../duckdb-vortexvcpkg.json ```
1 parent 1cedf0a commit c878d66

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

duckdb-vortex/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ execute_process(
3030
set(VCPKG_INSTALL_DIR "${CMAKE_BINARY_DIR}/vcpkg_installed")
3131
file(MAKE_DIRECTORY "${VCPKG_INSTALL_DIR}")
3232
execute_process(
33-
COMMAND "${vcpkg_SOURCE_DIR}/vcpkg" install --no-print-usage --x-install-root=${VCPKG_INSTALL_DIR}
33+
COMMAND "${vcpkg_SOURCE_DIR}/vcpkg" install --no-print-usage --x-manifest-root=vcpkg --x-install-root=${VCPKG_INSTALL_DIR}
3434
WORKING_DIRECTORY "${vcpkg_SOURCE_DIR}"
3535
)
3636
set(CMAKE_PREFIX_PATH ${VCPKG_INSTALL_DIR}/arm64-osx)

0 commit comments

Comments
 (0)