From b91ad9d4c7816bae71b5dec04ca80eb4a8cb091d Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Fri, 30 Jan 2015 07:48:51 +0000
Subject: [PATCH] comment to inform user when we have not found
 starpu_fxt_start_profiling in starpu

---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6d5e6d9b0..9fd72e505 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -514,6 +514,9 @@ if( CHAMELEON_SCHED_STARPU )
             if ( STARPU_FXT_START_PROFILING_FOUND )
                 message(STATUS "Set HAVE_STARPU_FXT_PROFILING - Activate FxT profiling through StarPU")
                 add_definitions(-DHAVE_STARPU_FXT_PROFILING)
+            else()
+                message(STATUS "Looking for starpu with fxt - starpu_fxt_start_profiling test fails in StarPU")
+                message(STATUS "Check in CMakeFiles/CMakeError.log to figure out why it fails")
             endif()
         endif()
         if (CHAMELEON_USE_MPI AND STARPU_MPI_LIBRARIES)
-- 
GitLab