Skip to content

Commit

Permalink
Use default syntax to include module FindPackageHandleStandardArgs.
Browse files Browse the repository at this point in the history
Use the default syntax to include the module
`FindPackageHandleStandardArgs` now that there is no longer a conflict
between the version of that module that is installed by CMake and the
previously existing (old) copy of that module.
  • Loading branch information
mmuetzel committed Aug 4, 2024
1 parent 8c5e9df commit 646321d
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cmake/Modules/FindCHOLMOD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ IF(UMFPACK_LIBRARIES AND UMFPACK_INCLUDE_DIR)
ENDIF()

# Fall back to manual search
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

SET(CHOLMOD_FOUND FALSE)
MESSAGE(STATUS "Finding CHOLMOD")
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/FindMMG.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# MMG_LIBRARY - mmg library is
# MMG_INCLUDE_DIR - mmg include dir.

INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If MMG_LIBRARY and MMG_INCLUDE_DIR are already defined, do nothing
IF(MMG_LIBRARY AND MMG_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/FindMumps.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# cmake script for finding MUMPS sparse direct solver
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If Mumps libraries are already defined, do nothing
IF(Mumps_LIBRARIES AND Mumps_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/FindNETCDF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# # handle the QUIETLY and REQUIRED arguments and set NETCDF_FOUND to TRUE
# if all listed variables are TRUE
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If NETCDF & NETCDF_FORTRAN libraries are already defined, do nothing
IF(NETCDF_LIBRARIES AND NETCDF_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/FindPARMMG.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# PARMMG_LIBRARY - mmg library is
# PARMMG_INCLUDE_DIR - mmg include dir.

INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If MMG_LIBRARY and MMG_INCLUDE_DIR are already defined, do nothing
IF(PARMMG_LIBRARY AND PARMMG_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/FindPHDF5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# # handle the QUIETLY and REQUIRED arguments and set PHDF5_FOUND to TRUE
# if all listed variables are TRUE
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If PHDF5 & PHDF5_HL libraries are already defined, do nothing
IF(PHDF5_LIBRARIES AND PHDF5_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/FindUMFPACK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ IF(UMFPACK_LIBRARIES AND UMFPACK_INCLUDE_DIR)
ENDIF()

# Fall back to manual search
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

SET(UMFPACK_FOUND FALSE)
MESSAGE(STATUS "Finding UMFPACK")
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/FindXIOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# # handle the QUIETLY and REQUIRED arguments and set XIOS_FOUND to TRUE
# if all listed variables are TRUE
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If XIOS is already defined, do nothing
IF(XIOS_LIBRARIES AND XIOS_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/FindZoltan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# ZOLTAN_LIBRARY - zoltan library is
# ZOLTAN_INCLUDE_DIR - zoltan include dir.

INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If ZOLTAN_LIBRARY and ZOLTAN_INCLUDE_DIR are already defined, do nothing
IF(ZOLTAN_LIBRARY AND ZOLTAN_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion elmerice/cmake/Modules/FindCSA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# # handle the QUIETLY and REQUIRED arguments and set CSA_FOUND to TRUE
# if all listed variables are TRUE
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If libraries are already defined, do nothing
IF(CSA_LIBRARY AND CSA_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion elmerice/cmake/Modules/FindFORTRANGIS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# # handle the QUIETLY and REQUIRED arguments and set FORTRANGIS_FOUND to TRUE
# if all listed variables are TRUE
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If libraries are already defined, do nothing
IF(FORTRANGIS_LIBRARY AND FORTRANGIS_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion elmerice/cmake/Modules/FindNN.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# # handle the QUIETLY and REQUIRED arguments and set NN_FOUND to TRUE
# if all listed variables are TRUE
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If libraries are already defined, do nothing
IF(NN_LIBRARY AND NN_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion elmerice/cmake/Modules/FindPROJ.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# # handle the QUIETLY and REQUIRED arguments and set PROJ_FOUND to TRUE
# if all listed variables are TRUE
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
INCLUDE(FindPackageHandleStandardArgs)

# If libraries are already defined, do nothing
IF(PROJ_LIBRARY AND PROJ_INCLUDE_DIR)
Expand Down

0 comments on commit 646321d

Please sign in to comment.