cmake: use binary_dir instead of build/

fixes #6
This commit is contained in:
Vaxry 2024-01-03 13:59:09 +01:00
parent 6f62e2d5f4
commit 218d392e54

View file

@ -43,4 +43,4 @@ add_dependencies(tests hyprlang_fuzz)
install(TARGETS hyprlang
PUBLIC_HEADER DESTINATION include
LIBRARY DESTINATION lib)
install(FILES build/hyprlang.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pkgconfig)
install(FILES ${CMAKE_BINARY_DIR}/hyprlang.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pkgconfig)