From 0c3e5ce444c31e286855eef2752ce597206a44d5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 6 Nov 2024 13:55:47 +0000 Subject: [PATCH] [Conf] Install examples --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6daced05a..fc14da0d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -716,7 +716,9 @@ MATH(EXPR CONFLIST_MAX ${CONFLIST_COUNT}-1) FILE(GLOB_RECURSE CONF_FILES RELATIVE "${CMAKE_SOURCE_DIR}/conf" CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/conf/*.conf" - "${CMAKE_SOURCE_DIR}/conf/*.inc") + "${CMAKE_SOURCE_DIR}/conf/*.inc" + "${CMAKE_SOURCE_DIR}/conf/*.lua.example" + "${CMAKE_SOURCE_DIR}/conf/*.conf.example") FOREACH (CONF_FILE ${CONF_FILES}) GET_FILENAME_COMPONENT(_rp ${CONF_FILE} PATH) INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}${CONFDIR}/${_rp})") -- 2.39.5