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 2199be0 commit 4dee9ffCopy full SHA for 4dee9ff
CMakeLists.txt
@@ -17,15 +17,11 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
17
set(CMAKE_CXX_EXTENSIONS OFF)
18
19
# Build static and dynamic lib written in Rust by invoking `cargo`.
20
-include(FetchContent)
21
-FetchContent_Declare(
22
- Corrosion
23
- GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
24
- GIT_TAG v0.2.1)
25
-FetchContent_MakeAvailable(Corrosion)
+add_subdirectory(corrosion)
26
corrosion_import_crate(
27
MANIFEST_PATH Cargo.toml
28
- FEATURES ffi)
+ FEATURES ffi
+ LINKER_LANGUAGE C)
29
target_include_directories(
30
questdb_client INTERFACE
31
${CMAKE_CURRENT_SOURCE_DIR}/include)
0 commit comments