Skip to content

Commit

Permalink
cmake: install pkgconfig in CMAKE_INSTALL_LIBDIR
Browse files Browse the repository at this point in the history
This's a library so the pkgconfig file should be installed in CMAKE_INSTALL_LIBDIR
  • Loading branch information
solopasha committed Jan 9, 2024
1 parent f1aaf52 commit 34527be
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 @@ -48,4 +48,4 @@ add_dependencies(tests hyprlang_fuzz)
install(TARGETS hyprlang
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${CMAKE_BINARY_DIR}/hyprlang.pc DESTINATION ${PREFIX}/share/pkgconfig)
install(FILES ${CMAKE_BINARY_DIR}/hyprlang.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)

0 comments on commit 34527be

Please sign in to comment.