From 0e0385eee9e8cadec97fb7c76f52d36f0da42ab4 Mon Sep 17 00:00:00 2001 From: orbea Date: Tue, 5 Jan 2021 06:38:06 -0800 Subject: [PATCH] cmake: Silence warning. --- CMakeLists.txt | 2 +- cmake/Modules/{FindLibZip.cmake => FindLIBZIP.cmake} | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) rename cmake/Modules/{FindLibZip.cmake => FindLIBZIP.cmake} (99%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 34f607e7dd..92ea5e6e20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -775,7 +775,7 @@ if(NOT MSVC) endif() -find_package(LibZip) +find_package(LIBZIP) if(LIBZIP_FOUND AND USE_SYSTEM_LIBZIP) add_definitions(-DSHARED_LIBZIP) else() diff --git a/cmake/Modules/FindLibZip.cmake b/cmake/Modules/FindLIBZIP.cmake similarity index 99% rename from cmake/Modules/FindLibZip.cmake rename to cmake/Modules/FindLIBZIP.cmake index 778da584f0..25adb25b10 100644 --- a/cmake/Modules/FindLibZip.cmake +++ b/cmake/Modules/FindLIBZIP.cmake @@ -19,7 +19,6 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see - # Locate libzip # This module defines # LIBZIP_LIBRARY