[Insight-users] CMake and shared objects

Markus Weigert m.weigert at fz-juelich.de
Wed Feb 28 09:09:03 EST 2007


Hi all,

just a short question:
I use CMake to configure my project which generates an executable.
By default, dynamic linking is enabled and my program doesnt run on
a machine with different libstdc++.so.
How can I modify my CMakeLists to do static linking for the project.
I had a look in how it is done in the ITK CMakeLists.txt, but I don't 
understand how to do it for my own program.


Regards,
Markus



More information about the Insight-users mailing list