1. Shlomi Fish
  2. Website Meta Language

Source

Website Meta Language / src / Common.cmake

Diff from to

File src/Common.cmake

  • Ignore whitespace
         VERBATIM
     )
     # The custom command needs to be assigned to a target.
-    ADD_CUSTOM_TARGET(
-        ${TARGET_NAME} ALL
-        DEPENDS ${DEST}
-    )
+    IF (POD2MAN_TARGET_IS_A_LIST)
+        LIST(APPEND "${TARGET_NAME}" "${DEST}")
+    ELSE (POD2MAN_TARGET_IS_A_LIST)
+        ADD_CUSTOM_TARGET(
+            ${TARGET_NAME} ALL
+            DEPENDS ${DEST}
+        )
+    ENDIF (POD2MAN_TARGET_IS_A_LIST)
 ENDMACRO(RUN_POD2MAN)
 
 MACRO(SIMPLE_POD2MAN TARGET_NAME SOURCE DEST SECTION)