From ad209a6958db8f03dcea7b23805a82c012d1bf75 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Thu, 12 May 2016 20:36:06 +0200 Subject: [PATCH] Update deection of gfortran in Debian-based OS (gcc >= 5) --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cbd4335d..5ebdc2e14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -715,6 +715,11 @@ if(OS_IS_LINUX) /usr/lib/gcc/aarch64-linux-gnu/4.9 # Debian arm64 /usr/lib/gcc/arm-linux-gnueabi/4.7 # Debian armel /usr/lib/gcc/arm-linux-gnueabi/4.9 + /usr/lib/gcc/x86_64-linux-gnu/5 + /usr/lib/gcc/i686-linux-gnu/5 + /usr/lib/gcc/arm-linux-gnueabi/5/ + /usr/lib/gcc/arm-linux-gnueabihf/5 + /usr/lib/gcc/aarch64-linux-gnu/5 ) if(NOT GFORTRAN) message(STATUS "The gfortran library has not been found.")