Commit 073e2404 authored by PRUVOST Florent's avatar PRUVOST Florent

FindSTARPU: set starpu version variables also in the pkg-config case

parent 42d642f3
......@@ -225,6 +225,10 @@ if(PKG_CONFIG_EXECUTABLE AND NOT STARPU_GIVEN_BY_USER)
# "Perhaps the path to starpu headers is already present in your"
# "C(PLUS)_INCLUDE_PATH environment variable.${ColourReset}")
#endif()
set(STARPU_VERSION_STRING "${STARPU_SHM_VERSION}")
string(REPLACE "." ";" STARPU_VERSION_STRING_LIST ${STARPU_VERSION_STRING})
list(GET STARPU_VERSION_STRING_LIST 0 STARPU_VERSION_MAJOR)
list(GET STARPU_VERSION_STRING_LIST 1 STARPU_VERSION_MINOR)
else()
message("${Magenta}Looking for STARPU - not found using PkgConfig."
"Perhaps you should add the directory containing libstarpu.pc"
......
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