[cmake-developers] [CMake 0013093]: Specifying CMAKE_TOOLCHAIN_FILE on command line causes CMake warning
Mantis Bug Tracker
mantis at public.kitware.com
Sun Apr 1 20:57:14 EDT 2012
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
======================================================================
More information about the cmake-developers
mailing list