Animesh,

Assuming that the packages export CMake configurations you can just do a
standard

find_package(Spectra REQUIRED)
target_link_libraries(my_project Spectra::Spectra)

in the CMakeLists.txt for your project.

Best,
Daniel

Am Do., 17. Dez. 2020 um 14:19 Uhr schrieb Animesh Rastogi IIT Gandhinagar <
animesh.rast...@alumni.iitgn.ac.in>:

> Dear deal.II community
>
> I would like to use some external libraries such as Eigen and Spectra in
> dealii for one of my projects. These are both header-only C++ libraries.
> Could someone please tell me about how to integrate these libraries
> (installed in my system) with dealii? What changes do I need to make in the
> deal.II cmake build system before recompiling and reinstalling it..
>
> Thanks!
>
> Animesh
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/4c387a54-4f16-48cc-80c9-9bc1479ee038n%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/4c387a54-4f16-48cc-80c9-9bc1479ee038n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWbK8Ub5epcNCyQiV5Bv%3DXKsASkC5v%2BVefP_yz_JX8pijFQ%40mail.gmail.com.

Reply via email to