[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kphotoalbum] /: Added a dependency to UpdateVersion.
From: Tobias Leupold <null () kde ! org>
Date: 2018-01-01 8:38:40
Message-ID: E1eVvcG-0004aO-SY () code ! kde ! org
[Download RAW message or body]
Git commit 9f05b3cf756e15263a6e67a17cd1b2a2c4a50322 by Tobias Leupold.
Committed on 01/01/2018 at 08:25.
Pushed by tleupold into branch 'master'.
Added a dependency to UpdateVersion.
Without this, using the git sources and a new build directory,
add_executable(kphotoalbum ...) can fail if the UpdateVersion target
has not been processed yet and thus, version.h has not been generated yet.
This assures version.h to be there in all cases.
M +1 -0 CMakeLists.txt
https://commits.kde.org/kphotoalbum/9f05b3cf756e15263a6e67a17cd1b2a2c4a50322
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 13690680..faa0491c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -422,6 +422,7 @@ set(kphotoalbum_SRCS
)
=
add_executable(kphotoalbum ${kphotoalbum_SRCS})
+add_dependencies(kphotoalbum UpdateVersion)
=
# External components
target_link_libraries(kphotoalbum
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic