View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011840CMakeCMakepublic2011-02-10 22:572011-06-17 18:26
ReporterDaniel Richard G. 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.3 
Target VersionCMake 2.8.5Fixed in VersionCMake 2.8.5 
Summary0011840: CMAKE_EXE_LINKER_FLAGS assignment in CMakeCommonLanguageInclude.cmake needs quotes
DescriptionIn CMakeCommonLanguageInclude.cmake, there is this cache variable assignment:

    SET (CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS_INIT} $ENV{LDFLAGS}
         CACHE STRING "Flags used by the linker.")

I am using the NMake generator, with LDFLAGS set in the environment. In a build.make file, I am seeing a link command line containing the following excerpt:

    [...]000 /INCREMENTAL:NO /machine:x64;/FIXED:NO /INCREMEN[...]

"/FIXED:NO" is the first thing in my LDFLAGS setting. Double-quotes are needed when setting CMAKE_EXE_LINKER_FLAGS.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0025391)
Brad King (manager)
2011-02-11 09:03

Fixed, thanks:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3b775168 [^]

 Issue History
Date Modified Username Field Change
2011-02-10 22:57 Daniel Richard G. New Issue
2011-02-11 08:53 Brad King Assigned To => Brad King
2011-02-11 08:53 Brad King Status new => assigned
2011-02-11 09:03 Brad King Note Added: 0025391
2011-02-11 09:03 Brad King Status assigned => closed
2011-02-11 09:03 Brad King Resolution open => fixed
2011-02-16 11:45 David Cole Target Version => CMake 2.8.5
2011-06-17 18:26 David Cole Fixed in Version => CMake 2.8.5


Copyright © 2000 - 2018 MantisBT Team