You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RocksDBConfig.cmake.in should be modified to find io_uring library if WITH_LIBURING=ON.
Also, WITH_LIBURING should be OFF on unsupported platforms, e.g. Windows.
Actual behavior
The io_uring dependency is added to the main CMakeLists.txt file, but the find_dependency(uring) is missing from the installed RocksDBConfig.cmake file:
[cmake] CMake Error at <path>/RocksDBTargets.cmake:60 (set_target_properties):
[cmake] The link interface of target "RocksDB::rocksdb" contains:
[cmake]
[cmake] uring::uring
[cmake]
[cmake] but the target was not found. Possible reasons include:
[cmake]
[cmake] * There is a typo in the target name.
[cmake] * A find_package call is missing for an IMPORTED target.
[cmake] * An ALIAS target is missing.
[cmake]
The text was updated successfully, but these errors were encountered:
Expected behavior
RocksDBConfig.cmake.in
should be modified to findio_uring
library ifWITH_LIBURING=ON
.Also,
WITH_LIBURING
should beOFF
on unsupported platforms, e.g. Windows.Actual behavior
The
io_uring
dependency is added to the mainCMakeLists.txt
file, but thefind_dependency(uring)
is missing from the installedRocksDBConfig.cmake
file:rocksdb/CMakeLists.txt
Lines 314 to 320 in 05c3b8e
Steps to reproduce the behavior
liburing
installed.The text was updated successfully, but these errors were encountered: