On 11.07.11 23:34:37, Jens Mueller wrote: > Hi, > > I'm trying to figure out where the path for a found library is changed. > In my case Curses is found at /usr/lib/libcurses.so. When linking with > gcc "/usr/lib/libcurses.so" is replaced by "-lcurses" as it is specified > at http://www.cmake.org/Wiki/CMake_2.6_Notes#Linking_to_System_Libraries. > Where can I find the code that causes these changes? I looked into > share/Modules/ at various CMake* files but I'm unable find the code.
IIRC this is in the C++ source code of CMake, there was recently a discussion about this on the list, but I can't recall the topic right now. Andreas _______________________________________________ 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