We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95eac5d commit 0738045Copy full SHA for 0738045
CMakeLists.txt
@@ -33,6 +33,14 @@ corrosion_import_crate(MANIFEST_PATH vortex/Cargo.toml
33
FLAGS --crate-type=staticlib
34
)
35
36
+# Ensure libraries installed by vcpkg are added to the library search path.
37
+# Specifically, libclang needs to be found in order to run rust-bindgen.
38
+set(VCPKG_TARGET_TRIPLET_DIR "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}")
39
+
40
+corrosion_add_target_rustflags(vortex_duckdb-static
41
+ "-Clink-arg=-L${VCPKG_TARGET_TRIPLET_DIR}/lib"
42
+)
43
44
include_directories(src/include vortex/vortex-duckdb/include)
45
46
set(EXTENSION_NAME ${TARGET_NAME}_extension)
0 commit comments