View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005202CMakeCMakepublic2007-06-18 08:492010-12-14 11:37
ReporterStefan Donath 
Assigned ToDavid Cole 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in VersionCMake 2.8.4 
Summary0005202: Wrong relative path for AdditionalLibraryDirectories, VS2005
DescriptionA CMake project including another project as library results in the following linker configuration (shorted):
<Tool Name="VCLinkerTool"
    AdditionalDependencies="$(NOINHERIT) .. pe.lib "
                OutputFile="Debug\solver.exe"
    AdditionalLibraryDirectories="..\..\extern\pe\lib\$(OutDir),..\..\extern\pe\lib"
/>
, where the pe library is located in <projectroot>/extern/pe/lib.
Since the working directory of the linker is <projectroot>/bin, and not in <projectroot>/bin/Debug, there is one "..\" too much. Changing that manually works around the bug.

Regards,
Stefan D.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0023958)
David Cole (manager)
2010-12-14 11:37

I am fairly confident that this bug as reported does not occur with the current version of CMake 2.8.3. If you can still reproduce this problem, please re-open and attach additional data.

Thanks.

 Issue History
Date Modified Username Field Change
2010-12-14 11:36 David Cole Assigned To Ken Martin => David Cole
2010-12-14 11:37 David Cole Note Added: 0023958
2010-12-14 11:37 David Cole Status assigned => closed
2010-12-14 11:37 David Cole Resolution open => fixed
2010-12-14 11:37 David Cole Fixed in Version => CMake 2.8.4


Copyright © 2000 - 2018 MantisBT Team