Prevent the Windows installer from installing manual pages.
This commit is contained in:
parent
f372104163
commit
f20a681315
2 changed files with 10 additions and 6 deletions
|
|
@ -12,6 +12,8 @@ FOREACH(source ${EXAMPLES-SOURCES})
|
|||
INSTALL(TARGETS ${source} RUNTIME DESTINATION bin COMPONENT examples)
|
||||
ENDFOREACH(source)
|
||||
|
||||
# Manuals for the examples
|
||||
FILE(GLOB manuals "${CMAKE_CURRENT_SOURCE_DIR}/*.1")
|
||||
INSTALL(FILES ${manuals} DESTINATION ${SHARE_INSTALL_PREFIX}/man/man1 COMPONENT manuals)
|
||||
IF(NOT MSVC)
|
||||
# Manuals for the examples
|
||||
FILE(GLOB manuals "${CMAKE_CURRENT_SOURCE_DIR}/*.1")
|
||||
INSTALL(FILES ${manuals} DESTINATION ${SHARE_INSTALL_PREFIX}/man/man1 COMPONENT manuals)
|
||||
ENDIF(NOT MSVC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue