diff options
author | João Valverde <j@v6e.pt> | 2021-11-07 20:23:59 +0000 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-11-07 22:07:14 +0000 |
commit | a3fe5c6162cfc38adab7188c5c618a614978c068 (patch) | |
tree | e2440d9a871f0566ada497792213ca72f4b4b1a4 /cmake/modules | |
parent | 09f020b3f398ae71b7069df10d3421a5604dd6a0 (diff) |
MSYS2/CMake: Fix asciidoctor invocation
CMake does not use any shell to run execute_process(). When
running asciidoctor we must use the batch file. Put that before
"asciidoctor" (a ruby script) so CMake uses that instead.
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/FindAsciidoctor.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/FindAsciidoctor.cmake b/cmake/modules/FindAsciidoctor.cmake index 6d4033823c..2f485e5547 100644 --- a/cmake/modules/FindAsciidoctor.cmake +++ b/cmake/modules/FindAsciidoctor.cmake @@ -9,6 +9,7 @@ INCLUDE(FindChocolatey) FIND_PROGRAM(ASCIIDOCTOR_EXECUTABLE NAMES asciidoctorj + asciidoctor.bat asciidoctor asciidoctor.ruby2.1 # XXX Add Asciidoctor.js releases (asciidoctor-linux, |