Skip to content
Snippets Groups Projects
Commit 882e1e51 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

resolve dependency problem between RIGID and USER-OMP package

parent ae0979e1
No related branches found
No related tags found
No related merge requests found
...@@ -585,8 +585,14 @@ if(PKG_USER-OMP) ...@@ -585,8 +585,14 @@ if(PKG_USER-OMP)
# detects styles which have USER-OMP version # detects styles which have USER-OMP version
RegisterStylesExt(${USER-OMP_SOURCES_DIR} omp OMP_SOURCES) RegisterStylesExt(${USER-OMP_SOURCES_DIR} omp OMP_SOURCES)
get_property(USER-OMP_SOURCES GLOBAL PROPERTY OMP_SOURCES) get_property(USER-OMP_SOURCES GLOBAL PROPERTY OMP_SOURCES)
# manually add classes, that are not styles
if(PKG_RIGID)
list(APPEND USER-OMP_SOURCES ${USER-OMP_SOURCES_DIR}/fix_rigid_nh_omp.cpp)
endif()
list(APPEND LIB_SOURCES ${USER-OMP_SOURCES}) list(APPEND LIB_SOURCES ${USER-OMP_SOURCES})
include_directories(${USER-OMP_SOURCES_DIR}) include_directories(${USER-OMP_SOURCES_DIR})
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment