View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015606CMakeCMakepublic2015-06-09 22:052016-01-04 11:51
ReporterArunava Nag 
Assigned To 
PriorityurgentSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSWindowsOS VersionWindows 7
Product Version 
Target VersionFixed in Version 
Summary0015606: Having problem with building a C++ file using Cmake from linux to windows
DescriptionCMake 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
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038899)
Brad King (manager)
2015-06-10 08:31

This question is better suited for the mailing list because it is about a project using CMake and not a bug in CMake. Please post there instead:

 http://www.cmake.org/mailman/listinfo/cmake [^]

Please include some information about the actual lines of code in the CMakeLists.txt file that shows the warning.
(0040064)
Robert Maynard (manager)
2016-01-04 11:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-06-09 22:05 Arunava Nag New Issue
2015-06-10 08:31 Brad King Note Added: 0038899
2015-06-10 08:31 Brad King Status new => resolved
2015-06-10 08:31 Brad King Resolution open => no change required
2016-01-04 11:51 Robert Maynard Note Added: 0040064
2016-01-04 11:51 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team