Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
073e2404
Commit
073e2404
authored
May 25, 2016
by
PRUVOST Florent
Browse files
FindSTARPU: set starpu version variables also in the pkg-config case
parent
42d642f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeModules/morse/find/FindSTARPU.cmake
View file @
073e2404
...
@@ -225,6 +225,10 @@ if(PKG_CONFIG_EXECUTABLE AND NOT STARPU_GIVEN_BY_USER)
...
@@ -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"
# "Perhaps the path to starpu headers is already present in your"
# "C(PLUS)_INCLUDE_PATH environment variable.${ColourReset}")
# "C(PLUS)_INCLUDE_PATH environment variable.${ColourReset}")
#endif()
#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
()
else
()
message
(
"
${
Magenta
}
Looking for STARPU - not found using PkgConfig."
message
(
"
${
Magenta
}
Looking for STARPU - not found using PkgConfig."
"Perhaps you should add the directory containing libstarpu.pc"
"Perhaps you should add the directory containing libstarpu.pc"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment