vcpkg/ports/rocksdb/0004-add-config-to-findpackage.patch
2020-10-12 17:13:33 -07:00

14 lines
330 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f9c8f3346..11aa70db9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -154,7 +154,7 @@ else()
endif()
if(WITH_LZ4)
- find_package(lz4 REQUIRED)
+ find_package(lz4 CONFIG REQUIRED)
add_definitions(-DLZ4)
list(APPEND THIRDPARTY_LIBS lz4::lz4)
endif()