]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Fix Ginkgo linkage 11431/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 29 Dec 2020 00:19:00 +0000 (18:19 -0600)
committerMatthias Maier <tamiko@43-1.org>
Tue, 29 Dec 2020 00:19:40 +0000 (18:19 -0600)
We also have to the "ginkgo" library itself...

In reference to #11413

cmake/modules/FindGINKGO.cmake

index 2ab3fa18dafb521c48daddf653c0af0a84bb95f8..b3c030e32530cb045c9380bc51b223f3babdc662 100644 (file)
@@ -49,7 +49,7 @@ unset(GINKGO_CXX_COMPILER)
 # the full path:
 #
 SET(_libraries "")
-FOREACH(_library ${GINKGO_INTERFACE_LINK_LIBRARIES})
+FOREACH(_library ginkgo ${GINKGO_INTERFACE_LINK_LIBRARIES})
   LIST(APPEND _libraries GINKGO_LIBRARY_${_library})
   DEAL_II_FIND_LIBRARY(GINKGO_LIBRARY_${_library}
     NAMES ${_library}

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.