Skip to content

Commit

Permalink
readd C++ standard update
Browse files Browse the repository at this point in the history
  • Loading branch information
anjohan committed May 30, 2024
1 parent 85582f5 commit f066ab8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions patch_lammps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ fi

echo "Updating CMakeLists.txt..."

sed -i "s/set(CMAKE_CXX_STANDARD 11)/set(CMAKE_CXX_STANDARD 14)/" $lammps_dir/cmake/CMakeLists.txt

# Add libtorch
cat >> $lammps_dir/cmake/CMakeLists.txt << "EOF2"
Expand Down

0 comments on commit f066ab8

Please sign in to comment.