Output compiler version

This commit is contained in:
Alexey Milovidov 2021-11-27 03:33:34 +03:00
parent 870800e54b
commit 8d8fcceede

View File

@ -8,6 +8,8 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set (COMPILER_CLANG 1)
endif ()
execute_process(COMMAND ${CMAKE_CXX_COMPILER} --version)
if (COMPILER_GCC)
# Require minimum version of gcc
set (GCC_MINIMUM_VERSION 11)