mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
cmake supports both absolute and relative to prefix install dirs. #1071 effectively mandated relative paths only. check if install dir is relative or absolute and either include ${prefix} in pc file or not Fixes #1098
12 lines
302 B
CMake
12 lines
302 B
CMake
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=@CMAKE_PC_LIBDIR@
|
|
includedir=@CMAKE_PC_INCLUDEDIR@
|
|
|
|
Name: TagLib
|
|
Description: Audio meta-data library
|
|
Requires:
|
|
Version: @TAGLIB_LIB_VERSION_STRING@
|
|
Libs: -L${libdir} -ltag @ZLIB_LIBRARIES_FLAGS@
|
|
Cflags: -I${includedir} -I${includedir}/taglib
|