mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 07:36:41 +08:00
14 lines
330 B
Diff
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()
|