add some messages about what we are doing wrt zm.conf

This commit is contained in:
Isaac Connor 2017-05-10 13:47:48 -04:00
parent e5030ff998
commit 65e76f592f
1 changed files with 2 additions and 0 deletions

View File

@ -840,8 +840,10 @@ endif(zmconfgen_result EQUAL 0)
# Install zm.conf # Install zm.conf
install(CODE " install(CODE "
if (NOT EXISTS \"${ZM_CONFIG_DIR}/zm.conf\") 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}\") file(INSTALL \"${CMAKE_CURRENT_BINARY_DIR}/zm.conf\" DESTINATION \"${ZM_CONFIG_DIR}\")
else (NOT EXISTS \"${ZM_CONFIG_DIR}/zm.conf\") 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(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}\") file(INSTALL \"${CMAKE_CURRENT_BINARY_DIR}/zm.conf.new\" DESTINATION \"${ZM_CONFIG_DIR}\")
endif() endif()