cmake: install pkgconfig in CMAKE_INSTALL_LIBDIR

This's a library so the pkgconfig file should be installed in CMAKE_INSTALL_LIBDIR
This commit is contained in:
Pavel Solovev 2024-01-09 11:54:21 +03:00 committed by Mihai Fufezan
parent f1aaf52c36
commit d48680678d
1 changed files with 1 additions and 1 deletions

View File

@ -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)