aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/liburing
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
commit0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch)
tree4d8a246db168f7beaafcd06d486c034115c2123d /contrib/libs/liburing
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'contrib/libs/liburing')
-rw-r--r--contrib/libs/liburing/CMakeLists.linux-aarch64.txt3
-rw-r--r--contrib/libs/liburing/CMakeLists.linux.txt3
2 files changed, 6 insertions, 0 deletions
diff --git a/contrib/libs/liburing/CMakeLists.linux-aarch64.txt b/contrib/libs/liburing/CMakeLists.linux-aarch64.txt
index beb2d14e87..9b62d1fb18 100644
--- a/contrib/libs/liburing/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/liburing/CMakeLists.linux-aarch64.txt
@@ -15,6 +15,9 @@ target_compile_options(contrib-libs-liburing PRIVATE
target_include_directories(contrib-libs-liburing PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/liburing/src/include
)
+target_link_libraries(contrib-libs-liburing PUBLIC
+ contrib-libs-linux-headers
+)
target_sources(contrib-libs-liburing PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/liburing/src/queue.c
${CMAKE_SOURCE_DIR}/contrib/libs/liburing/src/register.c
diff --git a/contrib/libs/liburing/CMakeLists.linux.txt b/contrib/libs/liburing/CMakeLists.linux.txt
index beb2d14e87..9b62d1fb18 100644
--- a/contrib/libs/liburing/CMakeLists.linux.txt
+++ b/contrib/libs/liburing/CMakeLists.linux.txt
@@ -15,6 +15,9 @@ target_compile_options(contrib-libs-liburing PRIVATE
target_include_directories(contrib-libs-liburing PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/liburing/src/include
)
+target_link_libraries(contrib-libs-liburing PUBLIC
+ contrib-libs-linux-headers
+)
target_sources(contrib-libs-liburing PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/liburing/src/queue.c
${CMAKE_SOURCE_DIR}/contrib/libs/liburing/src/register.c