ElmerCSC/elmerfem
CMakeLists.txt
:327
FIND_PACKAGE(Trilinos REQUIRED PATHS ${TRILINOS_PATH}/lib/cmake/Trilinos ${TRILINOS_PATH})
FIND_PACKAGE(Trilinos REQUIRED PATHS ${TRILINOS_PATH}/lib/cmake/Trilinos ${TRILINOS_PATH})
find_package(Trilinos)
find_package(
Trilinos REQUIRED
COMPONENTS Tpetra HINTS "${Trilinos_DIR}/lib/cmake/Trilinos"
"${Trilinos_DIR}")
# NOTE: You can't call find_package(Trilinos) for a CUDA build without first
# NOTE: You can't call find_package(Trilinos) for a CUDA build without first
find_package(Trilinos REQUIRED COMPONENTS Teuchos Tpetra)
FIND_PACKAGE(Trilinos REQUIRED)
FIND_PACKAGE(Trilinos COMPONENTS Kokkos KokkosKernels OPTIONAL_COMPONENTS Gtest)
FIND_PACKAGE(Trilinos COMPONENTS Intrepid REQUIRED)
find_package(Trilinos QUIET REQUIRED)
MESSAGE "Configure a dummy project that calls find_package(Trilinos)"
MESSAGE "Build a dummy project that calls find_package(Trilinos)"
# NOTE: The above test will run find_package(Trilinos) for **all** of the
# find_package(Trilinos) has any problems itself.
# that runs find_package(Trilinos) for all of Trilinos while the
# find_package(Trilinos COMPONENTS Tpetra) so it could pass when the full
# find_package(Trilinos) call fails. Therefore, it makes sense to run the
# find_package(Trilinos) command fails.
find_package(Trilinos REQUIRED)