Skip to content

Commit

Permalink
cmake: use GNUInstallDirs variables
Browse files Browse the repository at this point in the history
  • Loading branch information
solopasha authored and fufexan committed Jan 5, 2024
1 parent 8118461 commit f1aaf52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f1aaf52

Please sign in to comment.