add some messages about what we are doing wrt zm.conf
This commit is contained in:
parent
e5030ff998
commit
65e76f592f
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue