Make install target for API doc optional
This commit is contained in:
parent
783121ed5e
commit
757b539b95
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue