On 04/13/2011 02:44 PM, Jean-Christophe Fillion-Robin wrote: > Is there a solution to find a library having a revision number ?
You can specify the actual library file name "libgfortran.so.3". However, you shouldn't need to find implicit compiler runtime libraries. Are you trying to mix C++ and Fortran? > Within cmake, is there a possibility to retrieve the lib directories > associated with the current compiler ? CMake 2.8.x already does this. Look in the CMakeFiles/CMake*Compiler.cmake files in your build tree. However, these variables are generally meant for internal use by the link line computation code. If a binary contains sources from both C++ and Fortran CMake already knows how to link it with C++ and pass the Fortran runtime libraries on the link line. -Brad _______________________________________________ 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