[cmake] make generated pkg-config files relocatable

* new CMake option PKG_CONFIG_RELOCATABLE (default ON) allows generating
  traditional or relocatable pc files
This commit is contained in:
akallabeth
2023-10-09 10:00:58 +02:00
committed by akallabeth
parent 6250b0a5d4
commit 89429885a0
19 changed files with 25 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
prefix=@CMAKE_INSTALL_PREFIX@
prefix=@PKG_CONFIG_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@FREERDP_INCLUDE_DIR@