Update README.md for cmake
@@ -7,8 +7,8 @@ spglib
C library for finding and handling crystal symmetries
-How to compile
----------------
+How to compile with autotools
+-------------------------------
% aclocal
% autoheader
@@ -17,3 +17,20 @@ How to compile
% automake -acf
% autoconf
% ./configure
+
+How to compile with cmake
+--------------------------
+
+ % mkdir _build
+ % cd _build
+ % cmake ..
+ % make
+ % make install (probably installed under /usr/local)
+
+Or to install under /some/where
+
+ % mkdir _build
+ % cd _build
+ % cmake -DCMAKE_INSTALL_PREFIX="" ..
+ % make
+ % make DESTDIR=/some/where install
