Skip to content

Commit

Permalink
lmp: Register styles when using CMake (#3097)
Browse files Browse the repository at this point in the history
Fix #3092.
  • Loading branch information
njzjz authored Jan 2, 2024
1 parent 2287111 commit 985a886
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/lmp/builtin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ target_include_directories(
${LAMMPS_SOURCE_DIR}/KSPACE ${LAMMPS_SOURCE_DIR}/EXTRA-FIX)
target_compile_definitions(
lammps PRIVATE "LAMMPS_VERSION_NUMBER=${LAMMPS_VERSION_NUMBER}")

# register styles
registerstyles(${CMAKE_CURRENT_LIST_DIR})
generatestyleheaders(${LAMMPS_STYLE_HEADERS_DIR})

0 comments on commit 985a886

Please sign in to comment.