CMake warnings with Qt 5 & cmake 3.5.2
I get the following warnings.
CMake Warning (dev) at /Users/utkarsh/Kitware/Tools/qt/5.8.0/install/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:
'/Users/utkarsh/Kitware/Tools/qt/5.8.0/install/lib/cmake/Qt5/Qt5Config.cmake'
but the new evaluation rules produce:
'/Users/utkarsh/Kitware/Tools/qt/5.8.0/install/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):
/Users/utkarsh/Kitware/Tools/qt/5.8.0/install/lib/cmake/Qt5/Qt5Config.cmake:25 (include)
ThirdParty/QtTesting/vtkqttesting/CMakeLists.txt:17 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /Users/utkarsh/Kitware/Tools/qt/5.8.0/install/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:
'/Users/utkarsh/Kitware/Tools/qt/5.8.0/install/lib/cmake/Qt5/Qt5Config.cmake'
but the new evaluation rules produce:
'/Users/utkarsh/Kitware/Tools/qt/5.8.0/install/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):
/Users/utkarsh/Kitware/Tools/qt/5.8.0/install/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.