From d0f6e805e12eb0fdf643c0d05091506dbf5813d6 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Fri, 13 Apr 2018 17:19:44 +0200
Subject: [PATCH] hqr build should not inheritates from specific chameleon's
 flags such as the CFLAG -include starpu_simgrid_wrap.h, hqr does not depend
 on starpu

---
 CMakeLists.txt | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 13bac0493..f31042c7c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -248,6 +248,11 @@ endif()
 #option(CHAMELEON_GEN_PREC "Generate source files precisions" ON)
 #------------------------------------------------------------------------------
 
+###############################################################################
+# Build dependency HQR library #
+################################
+add_subdirectory(hqr)
+include_directories(hqr/include)
 
 ###############################################################################
 # Look for dependencies #
@@ -964,12 +969,6 @@ if (NOT CHAMELEON_SIMULATION)
 
 endif()
 
-###############################################################################
-# Add HQR library #
-###################
-add_subdirectory(hqr)
-include_directories(hqr/include)
-
 ###############################################################################
 # Main library #
 ################
-- 
GitLab