Commit 6b06bc31 authored by Constantin Rack's avatar Constantin Rack

Merge pull request #1366 from xantares/patch-1

fix CMP0053 warning with cmake 3.1
parents ec4200a9 032c5eda
...@@ -6,17 +6,19 @@ ...@@ -6,17 +6,19 @@
# A2X_EXECUTABLE - the full path to a2x # A2X_EXECUTABLE - the full path to a2x
# A2X_FOUND - If false, don't attempt to use a2x. # A2X_FOUND - If false, don't attempt to use a2x.
set (PROGRAMFILESX86 "PROGRAMFILES(X86)")
find_program(ASCIIDOC_EXECUTABLE asciidoc asciidoc.py find_program(ASCIIDOC_EXECUTABLE asciidoc asciidoc.py
PATHS "$ENV{ASCIIDOC_ROOT}" PATHS "$ENV{ASCIIDOC_ROOT}"
"$ENV{PROGRAMW6432}/asciidoc" "$ENV{PROGRAMW6432}/asciidoc"
"$ENV{PROGRAMFILES}/asciidoc" "$ENV{PROGRAMFILES}/asciidoc"
"$ENV{PROGRAMFILES(X86)}/asciidoc") "$ENV{${PROGRAMFILESX86}}/asciidoc")
find_program(A2X_EXECUTABLE a2x find_program(A2X_EXECUTABLE a2x
PATHS "$ENV{ASCIIDOC_ROOT}" PATHS "$ENV{ASCIIDOC_ROOT}"
"$ENV{PROGRAMW6432}/asciidoc" "$ENV{PROGRAMW6432}/asciidoc"
"$ENV{PROGRAMFILES}/asciidoc" "$ENV{PROGRAMFILES}/asciidoc"
"$ENV{PROGRAMFILES(X86)}/asciidoc") "$ENV{${PROGRAMFILESX86}}/asciidoc")
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment