Skip to content

Commit 6cbbe33

Browse files
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 <[email protected]>
1 parent 4bde8d3 commit 6cbbe33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ endif()
282282
if(Python_FOUND)
283283
message(STATUS "Generating 'fastfetch.1'")
284284
execute_process(COMMAND ${Python_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/scripts/gen-man.py"
285-
OUTPUT_FILE "fastfetch.1")
285+
OUTPUT_FILE "${PROJECT_BINARY_DIR}/fastfetch.1")
286286
else()
287287
message(WARNING "Python3 is not found, use basic 'fastfetch.1.in' instead")
288288
string(TIMESTAMP FASTFETCH_BUILD_DATE "%d %B %Y" UTC)

0 commit comments

Comments
 (0)