if(PKG_CORESHELL) set(CORESHELL_SOURCES_DIR ${LAMMPS_SOURCE_DIR}/CORESHELL) set(CORESHELL_SOURCES) set_property(GLOBAL PROPERTY "CORESHELL_SOURCES" "${CORESHELL_SOURCES}") # detects styles which have a CORESHELL version RegisterStylesExt(${CORESHELL_SOURCES_DIR} cs CORESHELL_SOURCES) get_property(CORESHELL_SOURCES GLOBAL PROPERTY CORESHELL_SOURCES) list(APPEND LIB_SOURCES ${CORESHELL_SOURCES}) include_directories(${CORESHELL_SOURCES_DIR}) endif()