From bef6958cd7cd3614fd2953db5ad94d2e5a28ae8e Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 23 Mar 2023 14:54:27 -0400 Subject: [PATCH] Remove the LINK_LANGUAGE:CXX generator. 1. Presently, all of our tests are written in C++, so this is just for extra safety. 2. Link language generators were added in CMake 3.18, which we do not yet require. --- cmake/macros/macro_deal_ii_setup_target.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmake/macros/macro_deal_ii_setup_target.cmake b/cmake/macros/macro_deal_ii_setup_target.cmake index 807fcfa9ac..2c6bba82c0 100644 --- a/cmake/macros/macro_deal_ii_setup_target.cmake +++ b/cmake/macros/macro_deal_ii_setup_target.cmake @@ -104,9 +104,7 @@ macro(deal_ii_setup_target _target) "${DEAL_II_LINKER_FLAGS} ${DEAL_II_LINKER_FLAGS_${_build}}" ) shell_escape_option_groups(_link_options) - target_link_options(${_target} PRIVATE - $<$:${_link_options}> - ) + target_link_options(${_target} PRIVATE ${_link_options}) endif() target_link_libraries(${_target} ${DEAL_II_TARGET_${_build}}) -- 2.39.5