From 65e76f592f8b912f7e7f7f0153a34c2558166718 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 10 May 2017 13:47:48 -0400 Subject: [PATCH] add some messages about what we are doing wrt zm.conf --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d4416c166..0c816959b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -840,8 +840,10 @@ endif(zmconfgen_result EQUAL 0) # Install zm.conf install(CODE " if (NOT EXISTS \"${ZM_CONFIG_DIR}/zm.conf\") + message(STATUS \"Installing zm.conf\") file(INSTALL \"${CMAKE_CURRENT_BINARY_DIR}/zm.conf\" DESTINATION \"${ZM_CONFIG_DIR}\") else (NOT EXISTS \"${ZM_CONFIG_DIR}/zm.conf\") + message(STATUS \"Not overwriting zm.conf. Installing zm.conf.new instead.\") file(RENAME \"${CMAKE_CURRENT_BINARY_DIR}/zm.conf\" \"${CMAKE_CURRENT_BINARY_DIR}/zm.conf.new\") file(INSTALL \"${CMAKE_CURRENT_BINARY_DIR}/zm.conf.new\" DESTINATION \"${ZM_CONFIG_DIR}\") endif()