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
iwr
amdis
Commits
49c90c0c
Commit
49c90c0c
authored
Jan 19, 2018
by
Praetorius, Simon
Browse files
Update CMakeLists.txt for backward compatibility.
parent
323f22f9
Changes
1
Show whitespace changes
Inline
Side-by-side
AMDiS/CMakeLists.txt
View file @
49c90c0c
...
...
@@ -16,6 +16,7 @@ endif ()
# ------------------------------------------------------------------------------
# some options to control the build process
option
(
ENABLE_PARALLEL_DOMAIN
"Use parallel domain decomposition"
false
)
option
(
ENABLE_MPI
"Compile with MPI compiler and library"
false
)
option
(
ENABLE_UMFPACK
"Enable support for the UMFPACK solver"
true
)
option
(
ENABLE_EXTENSIONS
"Use extensions for AMDiS"
false
)
...
...
@@ -23,10 +24,6 @@ option(ENABLE_HYPRE "Use HYPRE AMG solver" false)
option
(
ENABLE_PNG
"Use png reader/writer"
false
)
include
(
CMakeDependentOption
)
cmake_dependent_option
(
ENABLE_PARALLEL_DOMAIN
"Use parallel domain decomposition"
true
"ENABLE_MPI"
false
)
# additional options for parallel_domain
# {
cmake_dependent_option
(
ENABLE_ZOLTAN
...
...
@@ -72,6 +69,7 @@ endif (MSVC)
# parallel of sequential version
if
(
ENABLE_PARALLEL_DOMAIN
)
set
(
ENABLE_MPI CACHE BOOL
"Compile with MPI compiler and library"
FORCE
)
set
(
POSTFIX
"-p"
)
else
()
set
(
POSTFIX
"-s"
)
...
...
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