Skip to content

Commit

Permalink
Fix find_package_handle_standard_args capitalization
Browse files Browse the repository at this point in the history
Fix CMake warning for non-matching case of requested and found package.

Signed-off-by: Aiden Woodruff <[email protected]>
  • Loading branch information
bobpaw committed Nov 11, 2023
1 parent 736bb87 commit 876f31f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/FindParmetis.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion cmake/FindSimModSuite.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion cmake/FindZoltan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 876f31f

Please sign in to comment.