NERSC/timemory
cmake/Modules/FindBoost.cmake
:1582
math(EXPR _toolset_major_version "${MSVC_TOOLSET_VERSION} / 10")
math(EXPR _toolset_major_version "${MSVC_TOOLSET_VERSION} / 10")
elseif(MSVC_TOOLSET_VERSION GREATER_EQUAL 80)
math (EXPR MSVC_TOOLSET_MAJOR "${MSVC_TOOLSET_VERSION}/10")
math(EXPR _toolset_major_version "${MSVC_TOOLSET_VERSION} / 10")
string(REGEX REPLACE "^(..).*$" "\\1" VS ${MSVC_TOOLSET_VERSION})
if(MSVC_TOOLSET_VERSION GREATER_EQUAL 14${v})
math(EXPR _toolset_major_version "${MSVC_TOOLSET_VERSION} / 10")
find_program(MSVC_REDIST NAMES vc_redist.x64.exe
PATHS "$ENV{VCINSTALLDIR}Redist\\MSVC\\v${MSVC_TOOLSET_VERSION}")
elseif (MSVC_TOOLSET_VERSION MATCHES "143")
math(EXPR _toolset_major_version "${MSVC_TOOLSET_VERSION} / 10")