Re: [CMake] Add library at compiling time

2011-04-12 Thread Michael Wild
On 04/12/2011 05:20 PM, pellegrini wrote: > Michael Wild a écrit : >> On 04/12/2011 04:52 PM, pellegrini wrote: >> >>> Hello everybody, >>> >>> I am using CMake 2.8 on a Fortran 90 project using ifort compiler. >>> >>> I would like to specify the path for Winteracter graphical library not >>> onl

Re: [CMake] Add library at compiling time

2011-04-12 Thread pellegrini
Michael Wild a écrit : On 04/12/2011 04:52 PM, pellegrini wrote: Hello everybody, I am using CMake 2.8 on a Fortran 90 project using ifort compiler. I would like to specify the path for Winteracter graphical library not only when linking but also when compiling. By the way the library is no

Re: [CMake] Add library at compiling time

2011-04-12 Thread Michael Wild
On 04/12/2011 04:52 PM, pellegrini wrote: > Hello everybody, > > I am using CMake 2.8 on a Fortran 90 project using ifort compiler. > > I would like to specify the path for Winteracter graphical library not > only when linking but also when compiling. > By the way the library is not in a standard

[CMake] Add library at compiling time

2011-04-12 Thread pellegrini
Hello everybody, I am using CMake 2.8 on a Fortran 90 project using ifort compiler. I would like to specify the path for Winteracter graphical library not only when linking but also when compiling. By the way the library is not in a standard location. I tried to use target_link_libraries func