CMake: Define PROJECT_DESCRIPTION

This commit is contained in:
Luis Díaz Más 2018-11-02 20:01:12 +01:00
parent bc215c01a2
commit 09ad415f1f
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ cmake_minimum_required( VERSION 3.3.2 )
project(exiv2
VERSION 0.27.0.1
LANGUAGES CXX C
DESCRIPTION "Exif and IPTC metadata library and tools"
)
include(cmake/mainSetup.cmake REQUIRED)

View File

@ -4,7 +4,7 @@ libdir=${prefix}/lib
includedir=${prefix}/include
Name: exiv2
Description: Exif and IPTC metadata library and tools
Description: @PROJECT_DESCRIPTION@
Version: @PROJECT_VERSION@
URL: @PACKAGE_URL@
Libs: -L${libdir} -lexiv2