Re: [CMake] Mixing static and dynamic library

2011-10-18 Thread Michael Hertling
On 10/17/2011 09:31 AM, pellegrini wrote: > Hi Michael, > > thanks for your help. > > You guessed right: there was no symlink against libXm.so.2. Surprinsigly > (is it actually ?) [...] No, not really, see below. > [...] there was no symlink against > any of the libX libraries (Xmu, Xft, Xp ..

Re: [CMake] Mixing static and dynamic library

2011-10-15 Thread Michael Hertling
On 10/13/2011 03:27 PM, pellegrini wrote: > Hi all, > > I would like to port a hardcoded build line from an old make file to my > CMakeLists.txt file for a fortran 90 > project using ifort compiler. > The line is the following: > > ifort *.o -o myexec -static-intel -Bstatic -lXm -Bdynamic -l

[CMake] Mixing static and dynamic library

2011-10-13 Thread pellegrini
Hi all, I would like to port a hardcoded build line from an old make file to my CMakeLists.txt file for a fortran 90 project using ifort compiler. The line is the following: ifort *.o -o myexec -static-intel -Bstatic -lXm -Bdynamic -lXt First, if I get it right (sorry for my ignorance but