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
morse_cmake
Commits
182693ef
Commit
182693ef
authored
Mar 22, 2018
by
PRUVOST Florent
Browse files
REQUIRED_FLAGS should be given in C FLAGS not in library dependencies
parent
c869675f
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/find/FindSTARPU.cmake
View file @
182693ef
...
...
@@ -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
)
...
...
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