From f99bada1af8f986d91f651eb9748d0ac6367ef5e Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Tue, 31 Jul 2018 13:44:53 +0200 Subject: [PATCH] contribution from Samuel Thibault: avoid including starpu_simgrid_wrap.h so early because it #define main and thus makes link tests fail --- modules/find/FindSTARPU.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/find/FindSTARPU.cmake b/modules/find/FindSTARPU.cmake index 145ea09..5183382 100644 --- a/modules/find/FindSTARPU.cmake +++ b/modules/find/FindSTARPU.cmake @@ -759,7 +759,6 @@ if(STARPU_LIBRARIES) list(APPEND REQUIRED_LIBDIRS "${SIMGRID_LIBRARY_DIRS}") endif() list(APPEND REQUIRED_LIBS "${SIMGRID_LIBRARIES}") - list(APPEND REQUIRED_FLAGS "-include starpu_simgrid_wrap.h") endif() # BLAS if (BLAS_FOUND AND STARPU_LOOK_FOR_BLAS) -- GitLab