Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
spm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
spm
Commits
225a38f7
Commit
225a38f7
authored
2 months ago
by
PRUVOST Florent
Browse files
Options
Downloads
Patches
Plain Diff
morse_cmake: update calls to morse_export_imported_target to match its new api
parent
fb6e22e7
No related branches found
No related tags found
1 merge request
!125
cmake & ci
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/CMakeLists.txt
+5
-5
5 additions, 5 deletions
src/CMakeLists.txt
wrappers/fortran90/CMakeLists.txt
+1
-1
1 addition, 1 deletion
wrappers/fortran90/CMakeLists.txt
with
6 additions
and
6 deletions
src/CMakeLists.txt
+
5
−
5
View file @
225a38f7
...
...
@@ -121,16 +121,16 @@ endif()
# export targets of dependencies is spm static
if
(
NOT BUILD_SHARED_LIBS
)
morse_export_imported_target
(
MORSE
LAPACKE lapacke spm
)
morse_export_imported_target
(
MORSE
CBLAS cblas spm
)
morse_export_imported_target
(
MORSE
M m spm
)
morse_export_imported_target
(
MORSE
::
LAPACKE lapacke spm
)
morse_export_imported_target
(
MORSE
::
CBLAS cblas spm
)
morse_export_imported_target
(
MORSE
::
M m spm
)
if
(
SPM_WITH_SCOTCH
)
morse_export_imported_target
(
MORSE
SCOTCH scotch spm
)
morse_export_imported_target
(
MORSE
::
SCOTCH scotch spm
)
endif
()
endif
()
if
(
SPM_WITH_MPI
)
# mpi is a public dependency so that exporting is not an option
morse_export_imported_target
(
MPI
MPI_C mpic spm
)
morse_export_imported_target
(
MPI
::
MPI_C mpic spm
)
endif
()
# export target spm
...
...
This diff is collapsed.
Click to expand it.
wrappers/fortran90/CMakeLists.txt
+
1
−
1
View file @
225a38f7
...
...
@@ -54,7 +54,7 @@ endif()
if
(
SPM_WITH_MPI
)
target_compile_definitions
(
spmf INTERFACE
"SPM_WITH_MPI"
)
target_link_libraries
(
spmf PUBLIC MPI::MPI_Fortran
)
morse_export_imported_target
(
MPI
MPI_Fortran mpif spm
)
morse_export_imported_target
(
MPI
::
MPI_Fortran mpif spm
)
endif
()
# export target spmf
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment