revert change to not overwite zm.conf. It's not right, and it is screwing up package building
parent
e37cf0e218
commit
2115eacdd0
|
@ -715,11 +715,7 @@ 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}")
|
||||
else(NOT EXISTS "${ZM_CONFIG_DIR}/zm.conf")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/zm.conf" DESTINATION "${ZM_CONFIG_DIR}" RENAME "zm.conf.new")
|
||||
endif(NOT EXISTS "${ZM_CONFIG_DIR}/zm.conf")
|
||||
|
||||
# Uninstall target
|
||||
configure_file(
|
||||
|
|
Loading…
Reference in New Issue