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()