CMake: Install COMPONENTs (sphinx-man)

Added component sphinx-man
This commit is contained in:
Konstantin Podsvirov
2014-12-10 01:13:42 +03:00
parent 2531b90954
commit 7383e4d722
3 changed files with 10 additions and 1 deletions

View File

@@ -154,7 +154,8 @@ if(SPHINX_MAN)
set(name "${CMAKE_MATCH_1}")
set(sec "${CMAKE_MATCH_2}")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/${name}.${sec}
DESTINATION ${CMAKE_MAN_DIR}/man${sec})
DESTINATION ${CMAKE_MAN_DIR}/man${sec}
COMPONENT sphinx-man)
endif()
endforeach()
endif()