From a6f8d1da2a50c6d86054a22dec39070af6028bf3 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 28 Mar 2019 08:50:59 +0100 Subject: Fixed session recording that was broken, and install the session player from the termrec project --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 34ead63..0432691 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.0) -project(bastion LANGUAGES C VERSION 0.1.1) +project(bastion LANGUAGES C VERSION 0.1.2) set(CMAKE_VERBOSE_MAKEFILE FALSE) if(EXISTS "${CMAKE_SOURCE_DIR}/.git") @@ -22,6 +22,10 @@ set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -ggdb3 -pg") option(LIBSSH_VERBOSE_OUTPUT "whether or not verbose output for libssh mode is activated" OFF) option(SESSION_RECORDING "whether or not recording feature based on lib termrec is activated" ON) +if(SESSION_RECORDING) + add_definitions(-DSESSION_RECORDING) +endif() + configure_file("common/config.h.in" "common/config.h") include_directories("${CMAKE_CURRENT_BINARY_DIR}") include_directories("${CMAKE_CURRENT_SOURCE_DIR}") -- cgit v1.2.3