From b86a52dd483ecf75aa44923e3a4d46eda562feb8 Mon Sep 17 00:00:00 2001
From: Gerardo Tauriello <gerardo.tauriello@unibas.ch>
Date: Mon, 12 Aug 2019 14:10:54 +0200
Subject: [PATCH] SCHWED-4354: Make compile version check more portable.

---
 cmake_support/OST.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake_support/OST.cmake b/cmake_support/OST.cmake
index 9f7199a1e..8fab0b359 100644
--- a/cmake_support/OST.cmake
+++ b/cmake_support/OST.cmake
@@ -859,7 +859,7 @@ endmacro()
 #-------------------------------------------------------------------------------
 function(get_compiler_version _OUTPUT_VERSION)
   exec_program(${CMAKE_CXX_COMPILER}
-               ARGS ${CMAKE_CXX_COMPILER_ARG1} -dumpversion
+               ARGS ${CMAKE_CXX_COMPILER_ARG1} -dumpfullversion -dumpversion
                OUTPUT_VARIABLE _COMPILER_VERSION
   )
   string(REGEX REPLACE "([0-9])\\.([0-9])(\\.[0-9])?" "\\1\\2"
-- 
GitLab