Skip to content

Commit

Permalink
cmake: use CMAKE_INSTALL_LIBDIR for the installation dir
Browse files Browse the repository at this point in the history
Some distributions use lib64
  • Loading branch information
solopasha committed Jan 5, 2024
1 parent 4c28464 commit be5e327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ add_dependencies(tests hyprlang_fuzz)
# Installation
install(TARGETS hyprlang
PUBLIC_HEADER DESTINATION include
LIBRARY DESTINATION lib)
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${CMAKE_BINARY_DIR}/hyprlang.pc DESTINATION ${PREFIX}/share/pkgconfig)

0 comments on commit be5e327

Please sign in to comment.