v29.4-roots.4 · Commit 1: [PATCH 01/37] build: port platform and dependency support
cmake/module/InstallBinaryComponent.cmake
Before: cmake/module/InstallBinaryComponent.cmake · After: cmake/module/InstallBinaryComponent.cmake
File metadata
index c7b2ed9ae6a485e6699c4ff5824a61b3f9494c5b..5e56f508f52ba2ee3388c6748bab4cbed9446dd6 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
|
@@ -18,7 +18,8 @@ function(install_binary_component component)
|
|
| 18 |
COMPONENT ${component}
|
| 19 |
)
|
| 20 |
if(INSTALL_MAN AND IC_HAS_MANPAGE)
|
| 21 |
-
install(FILES ${PROJECT_SOURCE_DIR}/doc/man/${target_name}.1
|
|
|
|
| 22 |
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
|
| 23 |
COMPONENT ${component}
|
| 24 |
)
|
|
|
|
| 18 |
COMPONENT ${component}
|
| 19 |
)
|
| 20 |
if(INSTALL_MAN AND IC_HAS_MANPAGE)
|
| 21 |
+
set(manpage "${PROJECT_SOURCE_DIR}/doc/man/${target_name}.1")
|
| 22 |
+
install(FILES "${manpage}"
|
| 23 |
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
|
| 24 |
COMPONENT ${component}
|
| 25 |
)
|