Skip to content

Commit f066ab8

Browse files
committed
readd C++ standard update
1 parent 85582f5 commit f066ab8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

patch_lammps.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ fi
6262

6363
echo "Updating CMakeLists.txt..."
6464

65+
sed -i "s/set(CMAKE_CXX_STANDARD 11)/set(CMAKE_CXX_STANDARD 14)/" $lammps_dir/cmake/CMakeLists.txt
66+
6567
# Add libtorch
6668
cat >> $lammps_dir/cmake/CMakeLists.txt << "EOF2"
6769

0 commit comments

Comments
 (0)