Commit aac23850 authored by Richard Berger's avatar Richard Berger
Browse files

Add missing LMP_USER_OMP definition with CMake

parent a2ec8d3f
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment