Skip to content

Commit 5036d90

Browse files
olivia-fljevolk
authored andcommitted
fix findliburing
`find_package(... NAMES lib*)` is basically always wrong. The previous code was just hardcoding the static library path to work around the fact that this doesn't work. This breaks the build when only dynamic liburing builds are available.
1 parent 653ed8a commit 5036d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/modules/Finduring.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
find_path(uring_INCLUDE_DIR
88
NAMES liburing.h)
99
find_library(uring_LIBRARIES
10-
NAMES liburing.a liburing)
10+
NAMES uring)
1111

1212
include(FindPackageHandleStandardArgs)
1313
find_package_handle_standard_args(uring

0 commit comments

Comments
 (0)