From 1df9b9ed744ff5d5b28902461718f7d1071faea4 Mon Sep 17 00:00:00 2001 From: Username404 Date: Sat, 2 Oct 2021 14:22:29 +0200 Subject: [PATCH] Add the changelog target as a dependency of the ybcon one --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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}"