mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
0918653510
Cmake accepts both absolute and relative paths in CMAKE_INSTALL_DATADIR. For the latter case CMAKE_INSTALL_PREFIX is being prepended automatically. %{rel_datadir} is derived from CMAKE_INSTALL_DATADIR which was assumed to be relative and otherwise causes issues in a .pc file where prefix is being prepended unconditionally. Make sure %{rel_datadir} is relative by calculating RELATIVE_PATH from CMAKE_INSTALL_PREFIX to CMAKE_INSTALL_FULL_DATADIR which is known to be absolute. Fixes #8150 |
||
---|---|---|
.. | ||
checks | ||
Benchmark.cmake | ||
CheckIncludeFiles.cmake | ||
ConfigureChecks.cmake | ||
Docs.cmake | ||
gettext.cmake | ||
Install.cmake | ||
Mac.cmake | ||
MacApp.cmake | ||
PCRE2.cmake | ||
Tests.cmake | ||
Version.cmake |