]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove the LINK_LANGUAGE:CXX generator. 14960/head
authorDavid Wells <drwells@email.unc.edu>
Thu, 23 Mar 2023 18:54:27 +0000 (14:54 -0400)
committerDavid Wells <drwells@email.unc.edu>
Thu, 23 Mar 2023 18:54:27 +0000 (14:54 -0400)
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

index 807fcfa9acc22a6bb082a19a6724f57cbaf14e63..2c6bba82c00afe3afc4a63d035ec83652167af6c 100644 (file)
@@ -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_LANGUAGE:CXX>:${_link_options}>
-      )
+    target_link_options(${_target} PRIVATE ${_link_options})
   endif()
 
   target_link_libraries(${_target} ${DEAL_II_TARGET_${_build}})

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.