2020-12-18 03:53:17 +08:00
|
|
|
diff --git a/cmake/RocksDBConfig.cmake.in b/cmake/RocksDBConfig.cmake.in
|
2023-07-08 00:08:38 +08:00
|
|
|
index 0bd14be11..ad07f018a 100644
|
2020-12-18 03:53:17 +08:00
|
|
|
--- a/cmake/RocksDBConfig.cmake.in
|
|
|
|
+++ b/cmake/RocksDBConfig.cmake.in
|
2023-07-08 00:08:38 +08:00
|
|
|
@@ -33,11 +33,11 @@ if(@WITH_BZ2@)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(@WITH_LZ4@)
|
|
|
|
- find_dependency(lz4)
|
|
|
|
+ find_dependency(lz4 CONFIG)
|
2020-12-18 03:53:17 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if(@WITH_ZSTD@)
|
|
|
|
- find_dependency(zstd)
|
|
|
|
+ find_dependency(zstd CONFIG)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(@WITH_NUMA@)
|
|
|
|
@@ -45,7 +45,7 @@ if(@WITH_NUMA@)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(@WITH_TBB@)
|
|
|
|
- find_dependency(TBB)
|
|
|
|
+ find_dependency(TBB CONFIG)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
find_dependency(Threads)
|