NexGenAnalytics / Trilinos

Primary repository for the Trilinos Project
https://trilinos.org/
Other
0 stars 2 forks source link

Belos: Fix cmake issues #195

Closed JacobDomagala closed 1 year ago

JacobDomagala commented 1 year ago

Fix issues introduced with https://github.com/NexGenAnalytics/Trilinos/pull/171 namely the TpetraExt which doesn't exist:

CMake Error at cmake/tribits/core/utils/AssertDefined.cmake:79 (message):
Error, the variable Belos_ENABLE_TpetraExt is not defined!
Call Stack (most recent call first):
   packages/belos/tpetra/example/RCG/CMakeLists.txt:1 (ASSERT_DEFINED)

and

2023-09-16T22:20:28.5788340Z CMake Error at cmake/tribits/core/package_arch/TribitsCopyFilesToBinaryDir.cmake:304 (add_custom_target):
2023-09-16T22:20:28.5788882Z   add_custom_target cannot create target "Belos_CopyExampleRCGFiles" because
2023-09-16T22:20:28.5789319Z   another target with the same name already exists.  The existing target is a
2023-09-16T22:20:28.5789691Z   custom target created in source directory
2023-09-16T22:20:28.5790062Z   "/github/workspace/packages/belos/epetra/example/RCG".  See documentation
2023-09-16T22:20:28.5790400Z   for policy CMP0002 for more details.
2023-09-16T22:20:28.5790692Z Call Stack (most recent call first):
2023-09-16T22:20:28.5791072Z   packages/belos/tpetra/example/RCG/CMakeLists.txt:12 (TRIBITS_COPY_FILES_TO_BINARY_DIR)