Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 182693ef authored by PRUVOST Florent's avatar PRUVOST Florent

REQUIRED_FLAGS should be given in C FLAGS not in library dependencies

parent c869675f
......@@ -874,13 +874,10 @@ if( (NOT PKG_CONFIG_EXECUTABLE) OR (PKG_CONFIG_EXECUTABLE AND NOT STARPU_FOUND)
if(STARPU_WORKS)
# save link with dependencies
if (REQUIRED_FLAGS)
set(STARPU_LIBRARIES_DEP "${REQUIRED_FLAGS};${REQUIRED_LIBS}")
else()
set(STARPU_LIBRARIES_DEP "${REQUIRED_LIBS}")
endif()
set(STARPU_LIBRARIES_DEP "${REQUIRED_LIBS}")
set(STARPU_LIBRARY_DIRS_DEP "${REQUIRED_LIBDIRS}")
set(STARPU_INCLUDE_DIRS_DEP "${REQUIRED_INCDIRS}")
set(STARPU_C_FLAGS "${REQUIRED_FLAGS}")
set(STARPU_LINKER_FLAGS "${REQUIRED_LDFLAGS}")
list(REMOVE_DUPLICATES STARPU_LIBRARY_DIRS_DEP)
list(REMOVE_DUPLICATES STARPU_INCLUDE_DIRS_DEP)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment