View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001243CMakepublic2004-10-11 07:462008-01-30 17:33
ReporterKris Dekeyser 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001243: full filename link syntax support on HPUX is broken
DescriptionOn HPUX the linker supports library names that start with ':' This syntax allows to link to a library with an arbitrary name. If the 'lib' prefix is missing (e.g. filename = MyLib.sl) the linker needs -l:MyLib.sl. The .sl needs to be supplied.
When CMake contains TARGET_LINK_LIBRARIES(<target> <libdir>/:MyLib.sl) it creates a link list "-L<libdir> -l:MyLib". This should be "-L<libdir> -l:MyLib.sl" (not the file extension).
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0010343)
Brad King (manager)
2008-01-30 17:33

Linking is now done by passing the full path to the desired library file:

target_link_libraries(myexe /path/to/MyLib.sl)

will produce

 ... /path/to/MyLib.sl ...

on the link line. This will be in CMake 2.6.

 Issue History
Date Modified Username Field Change
2008-01-30 17:33 Brad King Status assigned => closed
2008-01-30 17:33 Brad King Note Added: 0010343
2008-01-30 17:33 Brad King Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team