Changeset 19265


Ignore:
Timestamp:
10/22/18 19:23:36 (6 years ago)
Author:
tbretz
Message:
Check for root2html and roff2pdf -- they are in a different package than groff.
File:
1 edited

Legend:

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

    r19245 r19265  
    7878# ========== executables ==========
    7979FIND_PROGRAM(HELP2MAN_EXECUTABLE help2man)
     80FIND_PROGRAM(ROFFHTML_EXECUTABLE roff2html)
     81FIND_PROGRAM(ROFFPDF_EXECUTABLE  roff2pdf)
    8082FIND_PROGRAM(GROFF_EXECUTABLE    groff)
    8183
    82 FIND_PACKAGE_HANDLE_STANDARD_ARGS(help2man DEFAULT_MSG HELP2MAN_EXECUTABLE)
    83 FIND_PACKAGE_HANDLE_STANDARD_ARGS(groff    DEFAULT_MSG GROFF_EXECUTABLE)
     84FIND_PACKAGE_HANDLE_STANDARD_ARGS(help2man  DEFAULT_MSG HELP2MAN_EXECUTABLE)
     85FIND_PACKAGE_HANDLE_STANDARD_ARGS(roff2html DEFAULT_MSG ROFFHTML_EXECUTABLE)
     86FIND_PACKAGE_HANDLE_STANDARD_ARGS(roff2pdf  DEFAULT_MSG ROFFPDF_EXECUTABLE)
     87FIND_PACKAGE_HANDLE_STANDARD_ARGS(groff     DEFAULT_MSG GROFF_EXECUTABLE)
    8488
    8589IF (NOT TOOLS_ONLY)
     
    427431MACRO(MANPAGE program description)
    428432# https://samthursfield.wordpress.com/2015/11/21/cmake-dependencies-between-targets-and-files-and-custom-commands/
    429 IF (HELP2MAN_EXECUTABLE AND GROFF_EXECUTABLE)
     433IF (HELP2MAN_EXECUTABLE AND ROFFHTML_EXECUTABLE AND ROFFPDF_EXECUTABLE AND GROFF_EXECUTABLE)
    430434        ADD_CUSTOM_COMMAND(
    431435                OUTPUT
Note: See TracChangeset for help on using the changeset viewer.