Animesh,
I did exactly as you suggested. My package export cmake configurations. I am
getting the following error and cant figure out the reason. It is not able to
link the executable with the package.
CMake Error at CMakeLists.txt:42 (TARGET_LINK_LIBRARIES):
Cannot specify link libraries for target
"Quasi_Static_Finite_Strain_Beam_Buckling_Analysis" which is not built by
this project.
-- Configuring incomplete, errors occurred!
See also
"/home/animesh/Documents/dealii/dealii-9.2.0/examples/Quasi_Static_Finite_Strain_Beam_Buckling_Analysis/CMakeFiles/CMakeOutput.log".
At the place where you call TARGET_LINK_LIBRARIES, you have not declared any
targets at all. So the error message seems correct to me.
You may want to move this line below DEAL_II_INVOKE_AUTOPILOT which declares
the target for you. Here's an example from the code gallery that does
something similar:
https://github.com/dealii/code-gallery/blob/master/parallel_in_time/CMakeLists.txt
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/b1555069-9db3-3a59-13a8-75083dc3324d%40colostate.edu.