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 <CarterLi@users.noreply.github.com>
This commit is contained in:
Masato TOYOSHIMA
2024-11-18 14:32:49 +09:00
committed by GitHub
parent 4bde8d3fb3
commit 6cbbe334b5
+1 -1
View File
@@ -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)