From kde-commits Sat Oct 31 20:51:30 2015 From: Thomas Fischer Date: Sat, 31 Oct 2015 20:51:30 +0000 To: kde-commits Subject: [kbibtex/kbibtex/0.6] src: Determining Git revision trice independently Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=144632470131585 Git commit 15c2107114d17ecac3fcb1d02558056e7bca5fa7 by Thomas Fischer. Committed on 31/10/2015 at 20:47. Pushed by thomasfischer into branch 'kbibtex/0.6'. Determining Git revision trice independently As suggested in KDE bug report 354637's attachment 95234, the custom targets to determine the Git revision have been given independent names as already implemented in the master branch (e.g. through commit 095af9cb65b29b8ab50a). This commit is the first step towards fixing bug 354637. M +2 -2 src/parts/CMakeLists.txt M +2 -2 src/program/CMakeLists.txt M +2 -2 src/test/CMakeLists.txt http://commits.kde.org/kbibtex/15c2107114d17ecac3fcb1d02558056e7bca5fa7 diff --git a/src/parts/CMakeLists.txt b/src/parts/CMakeLists.txt index 3fdc067..929d147 100644 --- a/src/parts/CMakeLists.txt +++ b/src/parts/CMakeLists.txt @@ -28,7 +28,7 @@ set( = # creates version.h using cmake script add_custom_target( - GITrevision + GITrevisionPart COMMAND ${CMAKE_COMMAND} -DSOURCE_DIR=3D${CMAKE_SOURCE_DIR} @@ -73,7 +73,7 @@ target_link_libraries( = add_dependencies( kbibtexpart - GITrevision + GITrevisionPart ) = install( diff --git a/src/program/CMakeLists.txt b/src/program/CMakeLists.txt index aef51b2..a9fe213 100644 --- a/src/program/CMakeLists.txt +++ b/src/program/CMakeLists.txt @@ -80,7 +80,7 @@ target_link_libraries( = # creates version.h using cmake script add_custom_target( - GITrevision + GITrevisionProgram COMMAND ${CMAKE_COMMAND} -DSOURCE_DIR=3D${CMAKE_SOURCE_DIR} @@ -103,7 +103,7 @@ set_source_files_properties( = add_dependencies( kbibtex - GITrevision + GITrevisionProgram ) = = diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 9f1fbf2..1104459 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -89,7 +89,7 @@ target_link_libraries( = # creates version.h using cmake script add_custom_target( - GITrevision + GITrevisionTest COMMAND ${CMAKE_COMMAND} -DSOURCE_DIR=3D${CMAKE_SOURCE_DIR} @@ -112,5 +112,5 @@ set_source_files_properties( = add_dependencies( kbibtextest - GITrevision + GITrevisionTest )