Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
ca6df87d
Commit
ca6df87d
authored
Apr 19, 2021
by
ESTERIE Pierre
Browse files
Fix export when MPI is not activated.
parent
f741ad51
Changes
1
Show whitespace changes
Inline
Side-by-side
experimental/cmake/export.cmake
View file @
ca6df87d
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
# Export Library
# Export Library
# --------------
# --------------
set
(
PACKAGES
${
CMAKE_PROJECT_NAME
}
-headers
${
CMAKE_PROJECT_NAME
}
-core
${
CMAKE_PROJECT_NAME
}
-mpi
)
set
(
PACKAGES
${
CMAKE_PROJECT_NAME
}
-headers
${
CMAKE_PROJECT_NAME
}
-core
)
if
(
${
CMAKE_PROJECT_NAME
}
_USE_MPI
)
list
(
APPEND PACKAGES
${
CMAKE_PROJECT_NAME
}
-mpi
)
endif
()
install
(
TARGETS
${
PACKAGES
}
install
(
TARGETS
${
PACKAGES
}
EXPORT
${
CMAKE_PROJECT_NAME
}
-targets
EXPORT
${
CMAKE_PROJECT_NAME
}
-targets
...
...
Write
Preview
Markdown
is supported
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