Skip to content

Commit 06cd0ca

Browse files
committed
Add cmake files to dist, fix header install dir
1 parent cfe928a commit 06cd0ca

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crates/c-api/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,5 @@ file(GLOB headers "include/*.h")
126126
add_custom_target(headers-to-doc
127127
COMMAND
128128
${CMAKE_COMMAND}
129-
-DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/include
130129
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/install-headers.cmake
131130
DEPENDS ${headers})

crates/c-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repository = "https://github.com/bytecodealliance/wasmtime"
88
readme = "README.md"
99
edition.workspace = true
1010
links = "wasmtime-c-api"
11-
include = ["include", "src", "build.rs", "CMakeLists.txt", "doxygen.conf.in"]
11+
include = ["include", "src", "build.rs", "CMakeLists.txt", "cmake", "doxygen.conf.in"]
1212

1313
[lints]
1414
workspace = true

0 commit comments

Comments
 (0)