-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Milestone
Description
CMAKE_INSTALL_DATADIR can be both relative, in which case CMake will add CMAKE_INSTALL_PREFIX or absolute when prefix is not added. fish assumes only relative path can be passed and if absolute path is used pkgconfig file is broken with prefix added:
fish-shell/cmake/Install.cmake
Line 17 in b0dc72e
| set(rel_datadir ${CMAKE_INSTALL_DATADIR}) |
Lines 1 to 2 in b0dc72e
| prefix=@prefix@ | |
| datadir=${prefix}/@rel_datadir@ |