Changeset 19171 for trunk


Ignore:
Timestamp:
08/18/18 17:21:04 (6 years ago)
Author:
tbretz
Message:
Turn of man page production if the required executables are missing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r19170 r19171  
    408408MACRO(MANPAGE program description)
    409409# https://samthursfield.wordpress.com/2015/11/21/cmake-dependencies-between-targets-and-files-and-custom-commands/
     410IF (HELP2MAN_EXECUTABLE AND GROFF_EXECUTABLE)
    410411        ADD_CUSTOM_COMMAND(
    411412                OUTPUT
     
    434435
    435436        INSTALL(FILES ${PROJECT_BINARY_DIR}/man1/${program}.1 DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")
    436 
     437ENDIF()
    437438ENDMACRO()
    438439
Note: See TracChangeset for help on using the changeset viewer.