The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13093 
====================================================================== 
Reported By:                Pat Marion
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13093
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-01 20:57 EDT
Last Modified:              2012-04-01 20:57 EDT
====================================================================== 
Summary:                    Specifying CMAKE_TOOLCHAIN_FILE on command line
causes CMake warning
Description: 
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!
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-01 20:57 Pat Marion     New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to