v30.3-roots.1 · Commit 1: [PATCH 01/68] build: adapt Roots platform support to Core 30.3
cmake/module/InstallBinaryComponent.cmake
Before: cmake/module/InstallBinaryComponent.cmake · After: cmake/module/InstallBinaryComponent.cmake
File metadata
index 42bcd88efb4ccc6dd09c3e6938aadee71da3bc86..e2099778eb3877c6882ba5c416c49bbf05ef3c16 100644
Download original patch · Release notes
Diff rows 1–9 of 9. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
cmake/module/InstallBinaryComponent.cmake
CHANGED
|
@@ -23,7 +23,8 @@ function(install_binary_component component)
|
|
| 23 |
COMPONENT ${component}
|
| 24 |
)
|
| 25 |
if(INSTALL_MAN AND IC_HAS_MANPAGE)
|
| 26 |
-
install(FILES ${PROJECT_SOURCE_DIR}/doc/man/${target_name}.1
|
|
|
|
| 27 |
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
|
| 28 |
COMPONENT ${component}
|
| 29 |
)
|
|
|
|
| 23 |
COMPONENT ${component}
|
| 24 |
)
|
| 25 |
if(INSTALL_MAN AND IC_HAS_MANPAGE)
|
| 26 |
+
set(manpage "${PROJECT_SOURCE_DIR}/doc/man/${target_name}.1")
|
| 27 |
+
install(FILES "${manpage}"
|
| 28 |
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
|
| 29 |
COMPONENT ${component}
|
| 30 |
)
|