diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c03de08..33c949b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -8,7 +8,7 @@ jobs: container: node:current-alpine steps: - - run: apk add git tar cmake make g++ linux-headers python3 xxd liburing-dev + - run: apk add git tar cmake make g++ linux-headers python3 xxd - uses: actions/checkout@v3 - run: npm ci working-directory: frontend diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d03219..b7ea475 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,14 @@ CPMAddPackage( ) if(uring_ADDED) + add_custom_command( + OUTPUT ${uring_SOURCE_DIR}/include/liburing/compat.h + COMMAND ${uring_SOURCE_DIR}/configure + WORKING_DIRECTORY ${uring_SOURCE_DIR} + ) + add_library(uring STATIC + ${uring_SOURCE_DIR}/include/liburing/compat.h ${uring_SOURCE_DIR}/src/setup.c ${uring_SOURCE_DIR}/src/queue.c ${uring_SOURCE_DIR}/src/register.c