[cmake-developers] [CMake 0012528]: When I use pack_configure_download a warning is displayed

Mantis Bug Tracker mantis at public.kitware.com
Thu Oct 20 09:31:47 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12528 
====================================================================== 
Reported By:                ycollet
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12528
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-10-20 09:31 EDT
Last Modified:              2011-10-20 09:31 EDT
====================================================================== 
Summary:                    When I use pack_configure_download a warning is
displayed
Description: 
When I use cpack_configure_downloads in my CMakeLists.txt, a warning is
displayed.

Here is the command I use:

cpack_configure_downloads(ftp://ftp.site.fr/DIR ALL)

Here is the warning:

-- DEBUG: registry part - ARC2D_VERSION_REVISION = 0
CMake Warning (dev) at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CPackComponent.cmake:441 (IF):
  given arguments:

    "TRUE" "AND" "NOT" "FALSE"

  An argument named "TRUE" appears in a conditional statement.  Policy
  CMP0012 is not set: if() recognizes numbers and boolean constants.  Run
  "cmake --help-policy CMP0012" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  CMakeLists.txt:1154 (cpack_configure_downloads)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-10-20 09:31 ycollet        New Issue                                    
======================================================================




More information about the cmake-developers mailing list