From 876f31fd16aa815f9144d0edc195cf1e8355c045 Mon Sep 17 00:00:00 2001 From: Aiden Woodruff Date: Sat, 11 Nov 2023 17:17:27 -0500 Subject: [PATCH] Fix find_package_handle_standard_args capitalization Fix CMake warning for non-matching case of requested and found package. Signed-off-by: Aiden Woodruff --- cmake/FindParmetis.cmake | 2 +- cmake/FindSimModSuite.cmake | 2 +- cmake/FindZoltan.cmake | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/FindParmetis.cmake b/cmake/FindParmetis.cmake index e9a544418..0224617d9 100644 --- a/cmake/FindParmetis.cmake +++ b/cmake/FindParmetis.cmake @@ -40,7 +40,7 @@ set(PARMETIS_INCLUDE_DIRS ${PARMETIS_INCLUDE_DIR} ${METIS_INCLUDE_DIR}) include(FindPackageHandleStandardArgs) # handle the QUIETLY and REQUIRED arguments and set PARMETIS_FOUND to TRUE # if all listed variables are TRUE -find_package_handle_standard_args(PARMETIS DEFAULT_MSG +find_package_handle_standard_args(Parmetis DEFAULT_MSG PARMETIS_LIBRARY METIS_LIBRARY PARMETIS_INCLUDE_DIR) mark_as_advanced(PARMETIS_INCLUDE_DIR PARMETIS_LIBRARY METIS_LIBRARY) diff --git a/cmake/FindSimModSuite.cmake b/cmake/FindSimModSuite.cmake index ccbb3d7a6..20bf718f8 100644 --- a/cmake/FindSimModSuite.cmake +++ b/cmake/FindSimModSuite.cmake @@ -174,7 +174,7 @@ endif() include(FindPackageHandleStandardArgs) # handle the QUIETLY and REQUIRED arguments and set SIMMODSUITE_FOUND to TRUE # if all listed variables are TRUE -find_package_handle_standard_args(SIMMODSUITE DEFAULT_MSG +find_package_handle_standard_args(SimModSuite DEFAULT_MSG SIMMODSUITE_LIBS SIMMODSUITE_INCLUDE_DIR SIMMODSUITE_MAJOR_VERSION SIMMODSUITE_MINOR_VERSION) diff --git a/cmake/FindZoltan.cmake b/cmake/FindZoltan.cmake index 8b9bb192c..24d8ad654 100644 --- a/cmake/FindZoltan.cmake +++ b/cmake/FindZoltan.cmake @@ -23,7 +23,7 @@ include(FindPackageHandleStandardArgs) # handle the QUIETLY and REQUIRED arguments and set ZOLTAN_FOUND to TRUE # if all listed variables are TRUE find_package_handle_standard_args( - ZOLTAN + Zoltan DEFAULT_MSG ZOLTAN_LIBRARY ZOLTAN_INCLUDE_DIR )