Intel: 2019 compiler version macros incorrect
Using cmake 3.13.1 and a freshly installed Intel compiler suite, I get
$ /opt/tcbsys/intel/compilers_and_libraries_2019.3.199/linux/bin/intel64/icpc -V
Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.0.3.199 Build 20190206
Copyright (C) 1985-2019 Intel Corporation. All rights reserved.
$ cmake --version
cmake version 3.13.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
$ (cd build; cmake .. -DCMAKE_CXX_COMPILER=icpc -DCMAKE_C_COMPILER=icc)
-- The C compiler identification is Intel 19.0.0.20190206
-- The CXX compiler identification is Intel 19.0.0.20190206
-- Check for working C compiler: /opt/tcbsys/intel/compilers_and_libraries_2019.3.199/linux/bin/intel64/icc
-- Check for working C compiler: /opt/tcbsys/intel/compilers_and_libraries_2019.3.199/linux/bin/intel64/icc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/tcbsys/intel/compilers_and_libraries_2019.3.199/linux/bin/intel64/icpc
-- Check for working CXX compiler: /opt/tcbsys/intel/compilers_and_libraries_2019.3.199/linux/bin/intel64/icpc -- works
-- Detecting CXX compiler ABI info
^C
I expected the compiler versions to be identified as e.g. 19.0.3.20190206. Major version looks detected OK, minor version may be OK, but the patch version is not detected correctly and perhaps is defaulting to 0?