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
argo
Applications
LAMMPS
Commits
aac23850
Commit
aac23850
authored
Aug 27, 2018
by
Richard Berger
Browse files
Add missing LMP_USER_OMP definition with CMake
parent
a2ec8d3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/CMakeLists.txt
View file @
aac23850
...
@@ -679,6 +679,7 @@ if(PKG_USER-OMP)
...
@@ -679,6 +679,7 @@ if(PKG_USER-OMP)
${
USER-OMP_SOURCES_DIR
}
/thr_omp.cpp
${
USER-OMP_SOURCES_DIR
}
/thr_omp.cpp
${
USER-OMP_SOURCES_DIR
}
/fix_nh_omp.cpp
${
USER-OMP_SOURCES_DIR
}
/fix_nh_omp.cpp
${
USER-OMP_SOURCES_DIR
}
/fix_nh_sphere_omp.cpp
)
${
USER-OMP_SOURCES_DIR
}
/fix_nh_sphere_omp.cpp
)
add_definitions
(
-DLMP_USER_OMP
)
set_property
(
GLOBAL PROPERTY
"OMP_SOURCES"
"
${
USER-OMP_SOURCES
}
"
)
set_property
(
GLOBAL PROPERTY
"OMP_SOURCES"
"
${
USER-OMP_SOURCES
}
"
)
# detects styles which have USER-OMP version
# detects styles which have USER-OMP version
...
...
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