From b3b3e95594b6399060d635ce85d51fd065d6dcda Mon Sep 17 00:00:00 2001
From: "Mulas, Giacomo" <gmulas@oa-cagliari.inaf.it>
Date: Tue, 19 Mar 2024 11:02:34 +0100
Subject: [PATCH] add support for USE_OPENMP in make.inc

---
 src/make.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/make.inc b/src/make.inc
index 2ba3d6b1..962471f0 100644
--- a/src/make.inc
+++ b/src/make.inc
@@ -74,6 +74,9 @@ endif
 # CXXFLAGS defines the default compilation options for the C++ compiler
 ifndef CXXFLAGS
 override CXXFLAGS=-O3 -ggdb -pg -coverage -I$(HDF5_INCLUDE)
+ifdef USE_OPENMP
+override CXXFLAGS+= -fopenmp
+endif
 ifdef USE_LAPACK
 override CXXFLAGS+= -DUSE_LAPACK -DLAPACK_ILP64 
 ifdef USE_MKL
-- 
GitLab