From 218d392e54b19f8693676ea3f30080a1fbbd990e Mon Sep 17 00:00:00 2001 From: vaxerski Date: Wed, 3 Jan 2024 13:59:09 +0100 Subject: [PATCH] cmake: use binary_dir instead of build/ fixes #6 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)