From 166c95c115a3d31d07172a5f2502165dbde22d53 Mon Sep 17 00:00:00 2001 From: Duncan Bellamy Date: Sun, 14 Mar 2021 00:05:13 +0000 Subject: [Minor] Make "INSTALL GLOB_RECURSE" for conf match conf and inc files Ignores files left by patch --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2843a2434..5ce315822 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -705,7 +705,8 @@ LIST(LENGTH CONFFILES CONFLIST_COUNT) MATH(EXPR CONFLIST_MAX ${CONFLIST_COUNT}-1) FILE(GLOB_RECURSE CONF_FILES RELATIVE "${CMAKE_SOURCE_DIR}/conf" CONFIGURE_DEPENDS - "${CMAKE_SOURCE_DIR}/conf/*" ) + "${CMAKE_SOURCE_DIR}/conf/*.conf" + "${CMAKE_SOURCE_DIR}/conf/*.inc" ) FOREACH(CONF_FILE ${CONF_FILES}) GET_FILENAME_COMPONENT(_rp ${CONF_FILE} PATH) INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}${CONFDIR}/${_rp})") -- cgit v1.2.3