summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL8
-rw-r--r--src/CMakeLists.txt1
2 files changed, 9 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 3ac302f..6550e65 100644
--- a/INSTALL
+++ b/INSTALL
@@ -9,3 +9,11 @@ Building cssh requires:
* libssh: implementation of the SSH protocol
* gengetopt: for generating the argument parser and the help usage
+Installation
+------------
+
+mkdir build
+cd build
+cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release ..
+make
+make install
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e4a23e6..d3b9c21 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
include_directories(
${LIBSSH_PUBLIC_INCLUDE_DIRS}
+ "${PROJECT_BINARY_DIR}/src"
"${PROJECT_SOURCE_DIR}/3rdParty/linenoise"
)