Don't install zm.conf if it already exists

This commit is contained in:
Isaac Connor 2015-10-02 11:27:35 -04:00
parent cf5473836e
commit fc6a6aeaa3
1 changed files with 2 additions and 0 deletions

View File

@ -704,7 +704,9 @@ else(zmconfgen_result EQUAL 0)
endif(zmconfgen_result EQUAL 0)
# Install zm.conf
if(NOT EXISTS "${ZM_CONFIG_DIR}/zm.conf")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/zm.conf" DESTINATION "${ZM_CONFIG_DIR}")
endif(NOT EXISTS "${ZM_CONFIG_DIR}/zm.conf")
# Uninstall target
configure_file(