eigen/cmake
Antonio Sanchez 1cdec38653 Fix cmake warnings, FindPASTIX/FindPTSCOTCH.
We were getting a lot of warnings due to nested `find_package` calls
within `Find***.cmake` files.  The recommended approach is to use
[`find_dependency`](https://cmake.org/cmake/help/latest/module/CMakeFindDependencyMacro.html)
in package configuration files. I made this change for all instances.

Case mismatches between `Find<Package>.cmake` and calling
`find_package(<PACKAGE>`) also lead to warnings. Fixed for
`FindPASTIX.cmake` and `FindSCOTCH.cmake`.

`FindBLASEXT.cmake` was broken due to calling `find_package_handle_standard_args(BLAS ...)`.
The package name must match, otherwise the `find_package(BLASEXT)` falsely thinks
the package wasn't found.  I changed to `BLASEXT`, but then also copied that value
to `BLAS_FOUND` for compatibility.

`FindPastix.cmake` had a typo that incorrectly added `PTSCOTCH` when looking for
the `SCOTCH` component.

`FindPTSCOTCH` incorrectly added `***-NOTFOUND` to include/library lists,
corrupting them.  This led to cmake errors down-the-line.

Fixes #2288.
2021-08-03 17:26:28 +00:00
..
ComputeCppCompilerChecks.cmake Update FindComputeCpp.cmake to fix build problems on Windows 2020-06-05 20:51:20 +00:00
ComputeCppIRMap.cmake Update FindComputeCpp.cmake to fix build problems on Windows 2020-06-05 20:51:20 +00:00
Eigen3Config.cmake.in [PATCH] cmake: Support source include with add_subdirectory and 2018-09-07 15:50:19 -04:00
Eigen3ConfigLegacy.cmake.in Added relocatable cmake support also for CMake before 3.0 and after 2.8.8 2016-12-06 10:37:34 +01:00
EigenConfigureTesting.cmake STYLE: Remove CMake-language block-end command arguments 2019-10-31 11:36:27 -05:00
EigenDetermineOSVersion.cmake
EigenDetermineVSServicePack.cmake
EigenSmokeTestList.cmake Add CMake infrastructure for smoke testing 2021-03-31 22:09:00 +00:00
EigenTesting.cmake Fix checking of version number for mingw. 2021-06-11 23:19:10 +00:00
EigenUninstall.cmake STYLE: Remove CMake-language block-end command arguments 2019-10-31 11:36:27 -05:00
FindAdolc.cmake Add missing adolc isinf/isnan. 2021-02-19 22:26:56 +00:00
FindBLAS.cmake Fix cmake warnings, FindPASTIX/FindPTSCOTCH. 2021-08-03 17:26:28 +00:00
FindBLASEXT.cmake Fix cmake warnings, FindPASTIX/FindPTSCOTCH. 2021-08-03 17:26:28 +00:00
FindCHOLMOD.cmake Eliminate CMake FindPackageHandleStandardArgs warnings. 2021-02-24 09:52:05 +00:00
FindComputeCpp.cmake Fix cmake warnings, FindPASTIX/FindPTSCOTCH. 2021-08-03 17:26:28 +00:00
FindEigen2.cmake STYLE: Remove CMake-language block-end command arguments 2019-10-31 11:36:27 -05:00
FindEigen3.cmake STYLE: Remove CMake-language block-end command arguments 2019-10-31 11:36:27 -05:00
FindFFTW.cmake Fix cmake warnings, FindPASTIX/FindPTSCOTCH. 2021-08-03 17:26:28 +00:00
FindGLEW.cmake STYLE: Convert CMake-language commands to lower case 2019-10-31 11:36:37 -05:00
FindGMP.cmake STYLE: Remove CMake-language block-end command arguments 2019-10-31 11:36:27 -05:00
FindGoogleHash.cmake Eliminate CMake FindPackageHandleStandardArgs warnings. 2021-02-24 09:52:05 +00:00
FindGSL.cmake STYLE: Convert CMake-language commands to lower case 2019-10-31 11:36:37 -05:00
FindHWLOC.cmake Fix cmake warnings, FindPASTIX/FindPTSCOTCH. 2021-08-03 17:26:28 +00:00
FindKLU.cmake STYLE: Remove CMake-language block-end command arguments 2019-10-31 11:36:27 -05:00
FindLAPACK.cmake Fix cmake warnings, FindPASTIX/FindPTSCOTCH. 2021-08-03 17:26:28 +00:00
FindMetis.cmake check for include dirs set 2020-11-26 10:22:46 +00:00
FindMPFR.cmake STYLE: Remove CMake-language block-end command arguments 2019-10-31 11:36:27 -05:00
FindPASTIX.cmake Fix cmake warnings, FindPASTIX/FindPTSCOTCH. 2021-08-03 17:26:28 +00:00
FindPTSCOTCH.cmake Fix cmake warnings, FindPASTIX/FindPTSCOTCH. 2021-08-03 17:26:28 +00:00
FindSCOTCH.cmake Fix cmake warnings, FindPASTIX/FindPTSCOTCH. 2021-08-03 17:26:28 +00:00
FindSPQR.cmake STYLE: Remove CMake-language block-end command arguments 2019-10-31 11:36:27 -05:00
FindStandardMathLibrary.cmake Bug #2036 make sure find_standard_math_library_test_program actually compiles (and is guaranteed to call math functions) 2020-10-24 15:22:21 +02:00
FindSuperLU.cmake Eliminate CMake FindPackageHandleStandardArgs warnings. 2021-02-24 09:52:05 +00:00
FindTriSYCL.cmake Fix cmake warnings, FindPASTIX/FindPTSCOTCH. 2021-08-03 17:26:28 +00:00
FindUMFPACK.cmake Eliminate CMake FindPackageHandleStandardArgs warnings. 2021-02-24 09:52:05 +00:00
RegexUtils.cmake STYLE: Convert CMake-language commands to lower case 2019-10-31 11:36:37 -05:00
UseEigen3.cmake