From 61f5ca2bc079f8a97c393fb6b2d77ace29ebc449 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Fri, 12 Jul 2019 08:39:56 +0100 Subject: [PATCH] Modtcl: install .tcl files when building with CMake MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Patrick Matthäi for report. --- modules/modtcl/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/modtcl/CMakeLists.txt b/modules/modtcl/CMakeLists.txt index b0f7ce38..e24dbc5e 100644 --- a/modules/modtcl/CMakeLists.txt +++ b/modules/modtcl/CMakeLists.txt @@ -16,3 +16,6 @@ set(modinclude_modtcl PRIVATE ${TCL_INCLUDE_PATH} PARENT_SCOPE) set(modlink_modtcl PRIVATE ${TCL_LIBRARY} PARENT_SCOPE) + +install(FILES "modtcl.tcl" "binds.tcl" + DESTINATION "${CMAKE_INSTALL_DATADIR}/znc/modtcl")