Explorar o código

cmake: Make docs install optional

Xenofon Karamanos hai 8 meses
pai
achega
763d3622fd
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      cmake/modules-docs.cmake

+ 3 - 0
cmake/modules-docs.cmake

@@ -140,6 +140,9 @@ else()
         RENAME README.${MODULE_NAME}
         DESTINATION ${CMAKE_INSTALL_DOCDIR}/modules
         COMPONENT kamailio_docs
+        # Since the depepndencies might not have been build as they are not in the default target
+        # and required to build explicitly using `make kamailio_docs`, allow them to be optional.
+        OPTIONAL
       )
     endif()