Files
setup-zig/node_modules/bare-url/CMakeLists.txt
mlugg 048396053b npm update
Notably, this gets us `@actions/github` 6.0.1, which is necessary for
`github.context.runAttempt` (so I have also updated `package.json`
accordingly). On that note... great job following semver, GitHub!
Between this and the non-breaking major version change on
`@actions/cache`, I'm starting to feel like nobody on the Actions team
understands how software versioning works.
2025-06-29 17:06:44 +01:00

26 lines
469 B
CMake

cmake_minimum_required(VERSION 3.25)
find_package(cmake-bare REQUIRED PATHS node_modules/cmake-bare)
find_package(cmake-fetch REQUIRED PATHS node_modules/cmake-fetch)
project(bare_url C)
fetch_package("github:holepunchto/libutf#9c5d642")
fetch_package("github:holepunchto/liburl#03f1488")
add_bare_module(bare_url)
target_sources(
${bare_url}
PRIVATE
binding.c
)
target_link_libraries(
${bare_url}
PRIVATE
$<TARGET_OBJECTS:url>
PUBLIC
url
)