MantisBT - CMake
View Issue Details
0013093CMakeCMakepublic2012-04-01 20:572013-12-02 08:51
Pat Marion 
Stephen Kelly 
normalminoralways
closedfixed 
 
CMake 2.8.12 
0013093: Specifying CMAKE_TOOLCHAIN_FILE on command line causes CMake warning
I'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!
No tags attached.
Issue History
2012-04-01 20:57Pat MarionNew Issue
2012-08-11 21:35David ColeStatusnew => backlog
2012-08-11 21:35David ColeNote Added: 0030386
2013-02-06 05:44Remo EichenbergerNote Added: 0032203
2013-02-06 05:49Pat MarionNote Added: 0032204
2013-07-03 09:25Stephen KellyNote Added: 0033463
2013-07-03 09:26Stephen KellyStatusbacklog => resolved
2013-07-03 09:26Stephen KellyFixed in Version => CMake 2.8.12
2013-07-03 09:26Stephen KellyResolutionopen => fixed
2013-07-03 09:26Stephen KellyAssigned To => Stephen Kelly
2013-12-02 08:51Robert MaynardNote Added: 0034629
2013-12-02 08:51Robert MaynardStatusresolved => closed

Notes
(0030386)
David Cole   
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   
2013-02-06 05:44   
I use cmake 2.8.10.2 on MacOSX and i still had this warning.
(0032204)
Pat Marion   
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   
2013-07-03 09:25   
Fixed with http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=273ecab9 [^]
(0034629)
Robert Maynard   
2013-12-02 08:51   
Closing resolved issues that have not been updated in more than 4 months.