Make install target for API doc optional

This commit is contained in:
Martchus 2016-06-15 21:40:03 +02:00
parent 783121ed5e
commit 757b539b95
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ else()
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/api-doc"
DESTINATION "share/${META_PROJECT_NAME}"
COMPONENT api-doc
OPTIONAL
)
if(NOT TARGET install-api-doc)