[cmake-developers] [CMake 0015606]: Having problem with building a C++ file using Cmake from linux to windows

Mantis Bug Tracker mantis at public.kitware.com
Tue Jun 9 22:05:55 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15606 
====================================================================== 
Reported By:                Arunava Nag
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15606
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   urgent
Status:                     new
====================================================================== 
Date Submitted:             2015-06-09 22:05 EDT
Last Modified:              2015-06-09 22:05 EDT
====================================================================== 
Summary:                    Having problem with building a C++ file using Cmake
from linux to windows
Description: 
CMake Warning (dev) at CMakeLists.txt:6 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:11 (elseif):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring done
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-06-09 22:05 Arunava Nag    New Issue                                    
======================================================================



More information about the cmake-developers mailing list