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 not in a standard location.

I tried to use target_link_libraries function but obviously as indicated
by its name, it may do the job when linking but certainly not when
compiling.

Any idea ?

thans in advance

Eric



Sorry, but that doesn't make any sense at all. Why would you want to do
that? Libraries only come into play during linking.

Sorry I was not clear enough. In fact I need the path for the 'lib' directory of my library because it is the place where the
'mod' files, compulsory for compiling,  are stored.

Eric
Michael
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to