Fix ad-hoc cmake for install
[anna.git] / README.md
index 10d9445..7bfbb7c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -34,6 +34,11 @@ You could specify type of build, 'Debug' or 'Release', for example:
 
      > make clean
 
+## Change the compilers
+
+     > cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++     -DCMAKE_C_COMPILER=/usr/bin/gcc
+     or
+     > cmake -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_C_COMPILER=/usr/bin/clang
 
 ## Some basic ubuntu requirements
 
@@ -113,11 +118,12 @@ Execute 'make test'
 
 To install headers, libraries, and examples, execute:
 
-     > make install
+     > sudo make install
 
 Optionally you could specify another prefix for installation:
 
-     > cmake -DCMAKE_INSTALL_PREFIX=$HOME/anna_deploy .
+     > cmake -DMY_OWN_INSTALL_PREFIX=$HOME/anna-deploy
+     > make install
 
 ## Uninstall