From f1aaf52c36895c32f5499e9f8a2cd494a1a2a96c Mon Sep 17 00:00:00 2001 From: Pavel Solovev Date: Sat, 6 Jan 2024 00:41:34 +0300 Subject: [PATCH] cmake: use GNUInstallDirs variables --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5eed3bc..51ccea4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)