mirror of
https://github.com/hyprwm/hyprlang.git
synced 2024-12-22 09:59:48 +01:00
use CMAKE_INSTALL_FULL_LIBDIR in pkgconfig instead of hardcoded lib
This commit is contained in:
parent
d48680678d
commit
25da0804b0
2 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ include(GNUInstallDirs)
|
||||||
|
|
||||||
set(PREFIX ${CMAKE_INSTALL_PREFIX})
|
set(PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||||
set(INCLUDE ${CMAKE_INSTALL_FULL_INCLUDEDIR})
|
set(INCLUDE ${CMAKE_INSTALL_FULL_INCLUDEDIR})
|
||||||
|
set(LIBDIR ${CMAKE_INSTALL_FULL_LIBDIR})
|
||||||
|
|
||||||
configure_file(hyprlang.pc.in hyprlang.pc @ONLY)
|
configure_file(hyprlang.pc.in hyprlang.pc @ONLY)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
prefix=@PREFIX@
|
prefix=@PREFIX@
|
||||||
includedir=@INCLUDE@
|
includedir=@INCLUDE@
|
||||||
libdir=${prefix}/lib
|
libdir=@LIBDIR@
|
||||||
|
|
||||||
Name: hyprlang
|
Name: hyprlang
|
||||||
URL: https://github.com/hyprwm/hyprlang
|
URL: https://github.com/hyprwm/hyprlang
|
||||||
|
|
Loading…
Reference in a new issue