Don't install zm.conf if it already exists
This commit is contained in:
parent
cf5473836e
commit
fc6a6aeaa3
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue