Don't copy ChangeLog on a tarball build.

There's no reason to and besides it breaks in-source builds
because trying to copy onto itself raises an error.
This commit is contained in:
John Ralls 2017-10-28 14:21:39 -07:00
parent b92a41b608
commit e959822817

View File

@ -840,8 +840,7 @@ IF (BUILDING_FROM_VCS)
)
INSTALL(FILES ${CMAKE_BINARY_DIR}/ChangeLog DESTINATION share/doc/gnucash)
ELSE()
FILE(COPY ChangeLog DESTINATION ChangeLog)
INSTALL(FILES ChangeLog DESTINATION share/doc/gnucash)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/ChangeLog DESTINATION share/doc/gnucash)
ENDIF()
#Link LICENSE to COPYING so that people expecting to find it,