Skip to content

Commit

Permalink
CMake: Fixed the destination where fastfetch.1 is generated. (#1403)
Browse files Browse the repository at this point in the history
* Fixed the destination where fastfetch.1 is generated.

* Update CMakeLists.txt

Reappend trailing new line

---------

Co-authored-by: Carter Li <[email protected]>
  • Loading branch information
phoepsilonix and CarterLi authored Nov 18, 2024
1 parent 4bde8d3 commit 6cbbe33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6cbbe33

Please sign in to comment.