diff --git a/CMakeLists.txt b/CMakeLists.txt index 373c4ba..2d4bd75 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)