From 5324ac8c0eb4b8bd8b2a36341f184b9d76504350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Tue, 11 Sep 2018 18:32:02 +0200 Subject: [PATCH] Move CMake variables to the file where they are used --- CMakeLists.txt | 3 --- po/CMakeLists.txt | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a31f099e..6b9932d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,9 +6,6 @@ project( exiv2 include(cmake/mainSetup.cmake REQUIRED) -set( PACKAGE_BUGREPORT "http://github.com/exiv2/exiv2" ) -set( PACKAGE_URL "http://www.exiv2.org" ) - # options and their default values option( BUILD_SHARED_LIBS "Build exiv2lib as a shared library" ON ) option( EXIV2_ENABLE_XMP "Build with XMP metadata support" ON ) diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 151d770b..d0530228 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -21,6 +21,9 @@ set(PO_FILES bs.po update_translations(exiv2 ${PO_FILES}) add_translations(exiv2 ${PO_FILES}) +set( PACKAGE_BUGREPORT "http://github.com/exiv2/exiv2" ) +set( PACKAGE_URL "http://www.exiv2.org" ) + ## # execute xgettext on every file add_custom_target( pot-update @@ -33,7 +36,6 @@ add_custom_target( pot-update --keyword=_ --package-name=${PROJECT_NAME} --package-version=${PROJECT_VERSION} - --copyright-holder=${PACKAGE_COPYRIGHT} --msgid-bugs-address=${PACKAGE_BUGREPORT} )