Make install target for API doc optional
This commit is contained in:
parent
6c8954a9cc
commit
6db965474f
|
@ -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