]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: fix variable name 15006/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 31 Mar 2023 02:15:16 +0000 (21:15 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 31 Mar 2023 02:20:15 +0000 (21:20 -0500)
We had an unfortunate "in flight" renaming conflict: One pull request
renamed the variable to DEAL_II_TARGET_NAME (PR #14993) while another
one (PR #14971) created the dealii::dealii target. Both on their own
passed the CI, but once both were merged we have an issue.

In reference to #14971
In reference to #14993

source/CMakeLists.txt

index d4db0eba90b16d31d31f56e3df81d242ab8c0b8e..b2830b975ea0870c221f332922edee9e6f5f0ecc 100644 (file)
@@ -122,7 +122,7 @@ foreach(build ${DEAL_II_BUILD_TYPES})
   # enabled in client user code irrespective of what compile flags/options
   # they have set.
   #
-  target_compile_features(${DEAL_II_NAMESPACE}_${build_lowercase}
+  target_compile_features(${DEAL_II_TARGET_NAME}_${build_lowercase}
     INTERFACE cxx_std_${CMAKE_CXX_STANDARD}
     )
 

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.