Skip to content

Commit

Permalink
use CMAKE_INSTALL_FULL_LIBDIR in pkgconfig instead of hardcoded lib
Browse files Browse the repository at this point in the history
  • Loading branch information
solopasha authored and fufexan committed Jan 9, 2024
1 parent d486806 commit 25da080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ include(GNUInstallDirs)

set(PREFIX ${CMAKE_INSTALL_PREFIX})
set(INCLUDE ${CMAKE_INSTALL_FULL_INCLUDEDIR})
set(LIBDIR ${CMAKE_INSTALL_FULL_LIBDIR})

configure_file(hyprlang.pc.in hyprlang.pc @ONLY)

Expand Down
2 changes: 1 addition & 1 deletion hyprlang.pc.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
prefix=@PREFIX@
includedir=@INCLUDE@
libdir=${prefix}/lib
libdir=@LIBDIR@

Name: hyprlang
URL: https://github.com/hyprwm/hyprlang
Expand Down

0 comments on commit 25da080

Please sign in to comment.