Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amdis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Backofen, Rainer
amdis
Commits
cdb6125e
Commit
cdb6125e
authored
Aug 15, 2019
by
backofen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some flags '-pthread' had trailing whitespaces. Was not accepted by my cmake
parent
49c90c0c
Pipeline
#2624
passed with stages
in 17 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AMDiS/cmake3/target_enable_petsc.cmake
AMDiS/cmake3/target_enable_petsc.cmake
+2
-2
No files found.
AMDiS/cmake3/target_enable_petsc.cmake
View file @
cdb6125e
...
...
@@ -10,9 +10,9 @@ macro(target_enable_mpi _TARGET_ _SCOPE_)
find_package
(
MPI REQUIRED
)
target_include_directories
(
${
_TARGET_
}
${
_SCOPE_
}
${
MPI_CXX_INCLUDE_PATH
}
)
string
(
STRIP
"
${
MPI_CXX_COMPILE_FLAGS
}
"
MPI_CXX_COMPILE_FLAGS
)
target_compile_options
(
${
_TARGET_
}
${
_SCOPE_
}
${
MPI_CXX_COMPILE_FLAGS
}
)
if
(
LINK_EXECUTABLE
)
# the parameter --enable-new-dtags causes a linker problem, i.e. some libraries are
# linked without an rpath (or any other path information) and can not be found while
...
...
@@ -23,7 +23,7 @@ macro(target_enable_mpi _TARGET_ _SCOPE_)
target_link_libraries
(
${
_TARGET_
}
${
_SCOPE_
}
${
MPI_CXX_LIBRARIES
}
${
MY_MPI_CXX_LINK_FLAGS
}
)
endif
(
LINK_EXECUTABLE
)
endmacro
(
target_enable_mpi
)
macro
(
target_enable_petsc _TARGET_ _SCOPE_
)
if
(
${
ARGC
}
GREATER 2
)
set
(
LINK_EXECUTABLE ON
)
...
...
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