Commit Graph

7 Commits

Author SHA1 Message Date
Jan Tojnar
48f2c9dbba
cmake: Fix paths with absolute GNUInstallDirs
It is not generally true that `CMAKE_INSTALL_<dir>` variables are relative paths:

https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files
https://github.com/jtojnar/cmake-snips#assuming-cmake_install_dir-is-relative-path

Let's join them properly as paths, not strings.

On Windows, the absolute paths will likely remain unsupported as neither the CMake function,
nor the C++ code is able to detect absolute paths.

Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
2020-09-05 11:18:46 +02:00
Luis Diaz Mas
e706cca190 Fixes in .pc file for being compatible with more distributions 2019-01-12 13:39:12 +01:00
Luis Díaz Más
09ad415f1f CMake: Define PROJECT_DESCRIPTION 2018-11-03 09:37:32 +01:00
Luis Díaz Más
46e6ced607 pkg-config file - paths depending on + Fix version 2018-11-03 09:37:32 +01:00
Luis Diaz Mas
f9389c4f1c Rename exiv2.pc.cmake to exiv2.pc.in 2018-11-01 22:20:27 +01:00
Luis Diaz Mas
0d6abb5b51 Remove leftovers from autotools and .gitignore 2018-06-08 14:04:25 +02:00
Luis Diaz Mas
a3444f055e Rename config folder to cmake 2018-06-08 14:04:25 +02:00