Buildbot warning : Qt5 and CMake Policy CMP0053
On both nemesis build this warning appears :
CMake Warning (dev) at C:/Qt/Qt5.8.0/5.8/msvc2013_64/lib/cmake/Qt5/Qt5ModuleLocation.cmake:4 (set):
Policy CMP0053 is not set: Simplify variable reference and escape sequence
evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
For input:
'${_qt5_install_prefix}/Qt5@module@/Qt5@module@Config.cmake'
the old evaluation rules produce:
'C:/Qt/Qt5.8.0/5.8/msvc2013_64/lib/cmake/Qt5/Qt5Config.cmake'
but the new evaluation rules produce:
'C:/Qt/Qt5.8.0/5.8/msvc2013_64/lib/cmake/Qt5@module@/Qt5@module@Config.cmake'
Using the old result for compatibility since the policy is not set.
Call Stack (most recent call first):
C:/Qt/Qt5.8.0/5.8/msvc2013_64/lib/cmake/Qt5/Qt5Config.cmake:25 (include)
ThirdParty/QtTesting/vtkqttesting/Testing/Cpp/CMakeLists.txt:4 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
A quick fix would be to set the policy I supose. See here for reference : https://open.cdash.org/viewConfigure.php?buildid=4804006