[cmake-developers] [CMake 0011348]: Why does Cmake use "-l" for linking when the actual (static) library is given?

Mantis Bug Tracker mantis at public.kitware.com
Thu Oct 21 12:23:54 EDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11348 
====================================================================== 
Reported By:                Jeff Hensley
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11348
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-10-21 12:23 EDT
Last Modified:              2010-10-21 12:23 EDT
====================================================================== 
Summary:                    Why does Cmake use "-l" for linking when the actual
(static) library is given?
Description: 
I'm having to jump through some hoops while using Cmake because it seems to
recognize that given libraries are in known locations, and then provides
links to them via the -l flag even though we are providing the actual
location and name of a library (*.a).

Note: this is on an HPC platform. cc is a wrapper script that sets up the
MPI and other niceities. cc is thus a front end to different compilers
which is changed by using the module command.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-21 12:23 Jeff Hensley   New Issue                                    
======================================================================




More information about the cmake-developers mailing list