cmake: use GNUInstallDirs variables

This commit is contained in:
Pavel Solovev 2024-01-06 00:41:34 +03:00 committed by Mihai Fufezan
parent 8118461c52
commit f1aaf52c36

View file

@ -46,6 +46,6 @@ add_dependencies(tests hyprlang_fuzz)
# Installation
install(TARGETS hyprlang
PUBLIC_HEADER DESTINATION include
LIBRARY DESTINATION lib)
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${CMAKE_BINARY_DIR}/hyprlang.pc DESTINATION ${PREFIX}/share/pkgconfig)