diff --git a/packages/seacas/libraries/ioss/cmake/Dependencies.cmake b/packages/seacas/libraries/ioss/cmake/Dependencies.cmake index 1349df1d8879..f16f73919038 100644 --- a/packages/seacas/libraries/ioss/cmake/Dependencies.cmake +++ b/packages/seacas/libraries/ioss/cmake/Dependencies.cmake @@ -1,14 +1,15 @@ -if(CMAKE_PROJECT_NAME STREQUAL "Trilinos") -TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( - LIB_OPTIONAL_PACKAGES SEACASExodus Pamgen Zoltan Kokkos - LIB_OPTIONAL_TPLS HDF5 CGNS ParMETIS Faodel Cereal DLlib Pthread DataWarp ADIOS2 Catalyst2 ${SEACAS_GTest_TPL_name} -) -else() +if(CMAKE_PROJECT_NAME STREQUAL "Seacas" OR CMAKE_PROJECT_NAME STREQUAL "SEACAS" ) TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( LIB_REQUIRED_TPLS fmt LIB_OPTIONAL_PACKAGES SEACASExodus Zoltan LIB_OPTIONAL_TPLS HDF5 Pamgen CGNS ParMETIS Faodel Cereal DLlib Pthread ADIOS2 Catalyst2 ${SEACAS_GTest_TPL_name} Kokkos DataWarp Catch2 ) +else() +# Typically for Trilinos since don't have fmt as TPL, but instead have embedded versions. +TRIBITS_PACKAGE_DEFINE_DEPENDENCIES( + LIB_OPTIONAL_PACKAGES SEACASExodus Pamgen Zoltan Kokkos + LIB_OPTIONAL_TPLS HDF5 CGNS ParMETIS Faodel Cereal DLlib Pthread DataWarp ADIOS2 Catalyst2 ${SEACAS_GTest_TPL_name} +) endif() TRIBITS_TPL_TENTATIVELY_ENABLE(DLlib)