From: Matthias Maier Date: Fri, 31 Mar 2023 02:15:16 +0000 (-0500) Subject: CMake: fix variable name X-Git-Tag: v9.5.0-rc1~391^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1f05fac1630bf14553605e8ff511d9a9bbf71a9;p=dealii.git 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 --- 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} )