View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013093CMakeCMakepublic2012-04-01 20:572013-12-02 08:51
ReporterPat Marion 
Assigned ToStephen Kelly 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in VersionCMake 2.8.12 
Summary0013093: Specifying CMAKE_TOOLCHAIN_FILE on command line causes CMake warning
DescriptionI'm using ExternalProject_Add, but this might be relevant for any project that uses a script to invoke cmake with variables passed on the command line.


If you pass -DCMAKE_TOOLCHAIN_FILE=/path/to/toolchain.cmake on the command line, cmake will use the variable on the first pass, but on all subsequent passes when CMAKE_TOOLCHAIN_FILE is passed on the command line, cmake will print the warning:



CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_TOOLCHAIN_FILE



This happens to me in cmake 2.8.6. I did not test 2.8.7, but I did read the change log, sorry for the noise if this is already fixed!
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0030386)
David Cole (manager)
2012-08-11 21:35

Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0032203)
Remo Eichenberger (reporter)
2013-02-06 05:44

I use cmake 2.8.10.2 on MacOSX and i still had this warning.
(0032204)
Pat Marion (reporter)
2013-02-06 05:49

I'm going to send a message to the cmake mailing list to see if there is interest in working on this bug, I agree it is still present in the latest cmake.
(0033463)
Stephen Kelly (developer)
2013-07-03 09:25

Fixed with http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=273ecab9 [^]
(0034629)
Robert Maynard (manager)
2013-12-02 08:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-04-01 20:57 Pat Marion New Issue
2012-08-11 21:35 David Cole Status new => backlog
2012-08-11 21:35 David Cole Note Added: 0030386
2013-02-06 05:44 Remo Eichenberger Note Added: 0032203
2013-02-06 05:49 Pat Marion Note Added: 0032204
2013-07-03 09:25 Stephen Kelly Note Added: 0033463
2013-07-03 09:26 Stephen Kelly Status backlog => resolved
2013-07-03 09:26 Stephen Kelly Fixed in Version => CMake 2.8.12
2013-07-03 09:26 Stephen Kelly Resolution open => fixed
2013-07-03 09:26 Stephen Kelly Assigned To => Stephen Kelly
2013-12-02 08:51 Robert Maynard Note Added: 0034629
2013-12-02 08:51 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team