From 6cbbe334b5e85f02c87e6716ab3849559648751a Mon Sep 17 00:00:00 2001 From: Masato TOYOSHIMA <77603626+phoepsilonix@users.noreply.github.com> Date: Mon, 18 Nov 2024 14:32:49 +0900 Subject: [PATCH] CMake: Fixed the destination where fastfetch.1 is generated. (#1403) * Fixed the destination where fastfetch.1 is generated. * Update CMakeLists.txt Reappend trailing new line --------- Co-authored-by: Carter Li --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ec7725f46..d64c3d343 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -282,7 +282,7 @@ endif() if(Python_FOUND) message(STATUS "Generating 'fastfetch.1'") execute_process(COMMAND ${Python_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/scripts/gen-man.py" - OUTPUT_FILE "fastfetch.1") + OUTPUT_FILE "${PROJECT_BINARY_DIR}/fastfetch.1") else() message(WARNING "Python3 is not found, use basic 'fastfetch.1.in' instead") string(TIMESTAMP FASTFETCH_BUILD_DATE "%d %B %Y" UTC)