Shell Recorder: Remove unnecessary CMake code
@@ -22,7 +22,6 @@ endfunction (add_shell_recorder_test FILENAME)
if (ENABLE_KDB_TESTING)
- set (USE_CMAKE_KDB_COMMAND "") # set kdb command
if (BUILD_SHARED)
list (FIND REMOVED_PLUGINS list list_index)
if (list_index EQUAL -1)
@@ -30,10 +29,7 @@ if (ENABLE_KDB_TESTING)
endif (list_index EQUAL -1)
endif ()
- string (LENGTH "${USE_CMAKE_KDB_COMMAND}" LENGTH_KDB_COMMAND)
- if (LENGTH_KDB_COMMAND EQUAL 0)
set (INCLUDE_COMMON "${INCLUDE_COMMON_FILE}export KDB=\"${KDB_COMMAND_BASENAME}\" PATH=\"${CMAKE_BINARY_DIR}/bin:$PATH\"")
- endif (LENGTH_KDB_COMMAND EQUAL 0)
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/shell_recorder.sh" "${CMAKE_CURRENT_BINARY_DIR}/shell_recorder.sh" @ONLY)
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/tutorial_wrapper/markdown_shell_recorder.sh"
