Skip to content

Commit

Permalink
Add cmake files to dist, fix header install dir
Browse files Browse the repository at this point in the history
  • Loading branch information
CGamesPlay committed Aug 8, 2024
1 parent cfe928a commit 06cd0ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion crates/c-api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,5 @@ file(GLOB headers "include/*.h")
add_custom_target(headers-to-doc
COMMAND
${CMAKE_COMMAND}
-DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/include
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/install-headers.cmake
DEPENDS ${headers})
2 changes: 1 addition & 1 deletion crates/c-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = "https://github.com/bytecodealliance/wasmtime"
readme = "README.md"
edition.workspace = true
links = "wasmtime-c-api"
include = ["include", "src", "build.rs", "CMakeLists.txt", "doxygen.conf.in"]
include = ["include", "src", "build.rs", "CMakeLists.txt", "cmake", "doxygen.conf.in"]

[lints]
workspace = true
Expand Down

0 comments on commit 06cd0ca

Please sign in to comment.