From 61d3b1facbc65aa33e085b8c07f6fe6635625782 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 17 Apr 2020 13:02:22 +0800 Subject: [PATCH] cmake: rename Findfuse.cmake to FindFUSE.cmake so its name is consistent with upstream name, and with the variables exposed by FindFUSE.cmake. Signed-off-by: Kefu Chai (cherry picked from commit 2b3adb5c5ee518cf4f03d1f96256f411aec1def2) --- CMakeLists.txt | 2 +- cmake/modules/{Findfuse.cmake => FindFUSE.cmake} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename cmake/modules/{Findfuse.cmake => FindFUSE.cmake} (92%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10efbb5bb6b79..16430a792240b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -253,7 +253,7 @@ endif() option(WITH_FUSE "Fuse is here" ON) if(WITH_FUSE) - find_package(fuse) + find_package(FUSE) set(HAVE_LIBFUSE ${FUSE_FOUND}) endif() diff --git a/cmake/modules/Findfuse.cmake b/cmake/modules/FindFUSE.cmake similarity index 92% rename from cmake/modules/Findfuse.cmake rename to cmake/modules/FindFUSE.cmake index e7a7ff08d8962..58c50cb9808e3 100644 --- a/cmake/modules/Findfuse.cmake +++ b/cmake/modules/FindFUSE.cmake @@ -21,7 +21,7 @@ find_library(FUSE_LIBRARIES PATHS /usr/local/lib64 /usr/local/lib) include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(fuse DEFAULT_MSG +find_package_handle_standard_args(FUSE DEFAULT_MSG FUSE_INCLUDE_DIRS FUSE_LIBRARIES) mark_as_advanced( -- 2.39.5