Sha256: 51855b3232750ce79a73fb8a91bceac5aa6697065e0ed90c7944bab08e239ce9

Contents?: true

Size: 954 Bytes

Versions: 2

Compression:

Stored size: 954 Bytes

Contents

# - Find Asciidoc
# this module looks for asciidoc and a2x
#
# ASCIIDOC_EXECUTABLE - the full path to asciidoc
# ASCIIDOC_FOUND - If false, don't attempt to use asciidoc.
# A2X_EXECUTABLE - the full path to a2x
# A2X_FOUND - If false, don't attempt to use a2x.

set (PROGRAMFILESX86 "PROGRAMFILES(X86)")

find_program(ASCIIDOC_EXECUTABLE asciidoc asciidoc.py
             PATHS "$ENV{ASCIIDOC_ROOT}"
                   "$ENV{PROGRAMW6432}/asciidoc"
                   "$ENV{PROGRAMFILES}/asciidoc"
                   "$ENV{${PROGRAMFILESX86}}/asciidoc")

find_program(A2X_EXECUTABLE a2x
             PATHS "$ENV{ASCIIDOC_ROOT}"
                   "$ENV{PROGRAMW6432}/asciidoc"
                   "$ENV{PROGRAMFILES}/asciidoc"
                   "$ENV{${PROGRAMFILESX86}}/asciidoc")


include(FindPackageHandleStandardArgs)
find_package_handle_standard_ARGS(AsciiDoc REQUIRED_VARS ASCIIDOC_EXECUTABLE)
mark_as_advanced(ASCIIDOC_EXECUTABLE A2X_EXECUTABLE)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
laag-libzmq-4.2.3.2 vendor/github.com/zeromq/libzmq/builds/cmake/Modules/FindAsciiDoc.cmake
laag-libzmq-4.2.3.0 vendor/github.com/zeromq/libzmq/builds/cmake/Modules/FindAsciiDoc.cmake