[CMake] Unclear warning

Micha Renner Micha.Renner at t-online.de
Tue Dec 9 02:30:49 EST 2014


Hi,

what does this message mean?

The ASM_MASM compiler identification is MSVC
CMake Warning (dev) at C:/Program
Files/CMake/share/cmake-3.1/Modules/CMakeFindBinUtils.cmake:33 (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.
Call Stack (most recent call first):
  C:/Program
Files/CMake/share/cmake-3.1/Modules/CMakeDetermineASMCompiler.cmake:137
(include)
  C:/Program
Files/CMake/share/cmake-3.1/Modules/CMakeDetermineASM_MASMCompiler.cmake:27 (include)
  src/CMakeLists.txt:44 (ENABLE_LANGUAGE)

Is this a wanted warning?

Greetings

Michael




More information about the CMake mailing list