]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix umfpack cmake 3.20 warning 12506/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 26 Jun 2021 21:33:43 +0000 (17:33 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sat, 26 Jun 2021 21:33:43 +0000 (17:33 -0400)
Fix the following warnings produced by CMake 3.20:

CMake Warning (dev) at cmake/macros/macro_deal_ii_add_library.cmake:35
(ADD_LIBRARY):
Policy CMP0115 is not set: Source file extensions must be explicit.
File:

    /home/heister/deal.ii-
candi/tmp/unpack/deal.II-v9.3.0/bundled/umfpack/UMFPACK/Source/umf_dump.cc
   /home/heister/deal.ii-
candi/tmp/unpack/deal.II-v9.3.0/bundled/umfpack/UMFPACK/Source/umf_init_front.cc
    /home/heister/deal.ii-
candi/tmp/unpack/deal.II-v9.3.0/bundled/umfpack/UMFPACK/Source/umf_local_search.cc
    /home/heister/deal.ii-
candi/tmp/unpack/deal.II-v9.3.0/bundled/umfpack/UMFPACK/Source/umfpack_report_numeric.cc

bundled/umfpack/UMFPACK/Source/CMakeLists.txt

index da43159398e491bd452db7903398004d5bddf59d..f5b6dbed59b6258382486534a2f53014875fe318 100644 (file)
@@ -313,9 +313,9 @@ SET(src_umfpack_DL_AND_ZL
   # Files that originate in $(UMF), which is really just $(UMFCH) for our
   # purposes:
   umf_assemble.cc umf_blas3_update.cc umf_build_tuples.cc umf_create_element.cc
-  umf_dump umf_extend_front.cc umf_garbage_collection.cc umf_get_memory.cc
-  umf_init_front umf_kernel.cc umf_kernel_init.cc umf_kernel_wrapup.cc
-  umf_local_search umf_lsolve.cc umf_ltsolve umf_mem_alloc_element.cc
+  umf_dump.cc umf_extend_front.cc umf_garbage_collection.cc umf_get_memory.cc
+  umf_init_front.cc umf_kernel.cc umf_kernel_init.cc umf_kernel_wrapup.cc
+  umf_local_search.cc umf_lsolve.cc umf_ltsolve umf_mem_alloc_element.cc
   umf_mem_alloc_head_block.cc umf_mem_alloc_tail_block.cc
   umf_mem_free_tail_block.cc umf_mem_init_memoryspace.cc
   umf_report_vector.cc umf_row_search.cc umf_scale_column.cc
@@ -329,7 +329,7 @@ SET(src_umfpack_DL_AND_ZL
   umfpack_free_symbolic.cc umfpack_get_numeric.cc umfpack_get_lunz.cc
   umfpack_get_symbolic.cc umfpack_get_determinant.cc umfpack_numeric.cc
   umfpack_qsymbolic.cc umfpack_report_control.cc umfpack_report_info.cc
-  umfpack_report_matrix.cc umfpack_report_numeric umfpack_report_perm.cc
+  umfpack_report_matrix.cc umfpack_report_numeric.cc umfpack_report_perm.cc
   umfpack_report_status.cc umfpack_report_symbolic.cc umfpack_report_triplet.cc
   umfpack_report_vector.cc umfpack_solve.cc umfpack_symbolic.cc
   umfpack_transpose.cc umfpack_triplet_to_col.cc umfpack_scale.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.