d6a03b475e
Commit v3.4.0-rc1~494^2~4 (cmMakefile: Add API for elseif to create backtrace., 2015-05-29) removed the use of cmMakefileCall to push/pop execution context in favor of a new way to create backtraces. However, a call to cmMakefile::GetExecutionContext is still invoked to issue a contextual CMP0054 warning through cmConditionEvaluator. As the elseif is not part of the call stack, this resulted in trying to access an empty vector. Avoid the attempt at getting execution context when evaluating elseif by constructing a context and backtrace on behalf of the cmConditionEvaluator in all cases.
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
CMake Warning \(dev\) at CMP0054-keywords-WARN.cmake:1 \(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 keywords like "NOT" will no longer be interpreted as keywords 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\):
|
|
CMakeLists.txt:3 \(include\)
|
|
This warning is for project developers. Use -Wno-dev to suppress it.
|
|
+
|
|
CMake Warning \(dev\) at CMP0054-keywords-WARN.cmake:3 \(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 keywords like "DEFINED" will no longer be interpreted as keywords
|
|
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\):
|
|
CMakeLists.txt:3 \(include\)
|
|
This warning is for project developers. Use -Wno-dev to suppress it.
|