From f1f05fac1630bf14553605e8ff511d9a9bbf71a9 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 30 Mar 2023 21:15:16 -0500 Subject: [PATCH] CMake: fix variable name 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index d4db0eba90..b2830b975e 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -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} ) -- 2.39.5