]> git.ipfire.org Git - thirdparty/xz.git/commit
CMake: Use relative paths in liblzma.pc if possible
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 16 Jun 2024 16:18:56 +0000 (19:18 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 17 Jun 2024 15:01:39 +0000 (18:01 +0300)
commitebd155c3a1b87411edae06d3bdaa9659ec057522
tree4bab7bd0f1cdc2beff17bf2bcdd7cf4f42ea916b
parent7a366d93cfd74ce10201db400be8836199944e36
CMake: Use relative paths in liblzma.pc if possible

Now liblzma.pc can be relocatable only if using CMake >= 3.20
but that should be OK as now we shouldn't get broken liblzma.pc
if CMAKE_INSTALL_LIBDIR or CMAKE_INSTALL_INCLUDEDIR contain an
absolute path.

Thanks to Eli Schwartz.
CMakeLists.txt