diff --git a/CMakeLists.txt b/CMakeLists.txt index 25840b6..514f2e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,6 +143,7 @@ if (UNIX AND NOT MINGW) COMMENT "Compressing the changelog file" ) add_custom_target(changelog ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}") + add_dependencies(ybcon changelog) string(TOLOWER "${CMAKE_INSTALL_DOCDIR}" DEB_CHANGELOG_DEST_DIR) # Lowercase characters are needed because GNUInstallDirs uses the PROJECT_NAME variable. install( FILES "${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}"