Fix ASCIIDOCTORJ_OPTS.
authorGerald Combs <gerald@wireshark.org>
Sun, 11 Feb 2018 19:06:04 +0000 (11:06 -0800)
committerGerald Combs <gerald@wireshark.org>
Sun, 11 Feb 2018 19:06:39 +0000 (19:06 +0000)
Avoid excessive quoting.

Change-Id: I0dd7593d464851bd34cfc7a5a99a21a2a826dd7a
Reviewed-on: https://code.wireshark.org/review/25732
Reviewed-by: Gerald Combs <gerald@wireshark.org>
cmake/modules/FindAsciidoctor.cmake

index f38743203044144cf657077aa56ac614d46105f9..f2a6e8ccdb35c30b1df4fe3c19b05b6c775833c0 100644 (file)
@@ -21,7 +21,7 @@ FIND_PROGRAM(ASCIIDOCTOR_EXECUTABLE
 if(ASCIIDOCTOR_EXECUTABLE)
     # The AsciidctorJ wrapper script sets -Xmx256m. This isn't enough
     # for the User's Guide.
-    set(_asciidoctorj_opts "-Xmx800m $ENV{ASCIIDOCTORJ_OPTS}")
+    set(_asciidoctorj_opts -Xmx800m $ENV{ASCIIDOCTORJ_OPTS})
     execute_process( COMMAND ${ASCIIDOCTOR_EXECUTABLE} --version OUTPUT_VARIABLE _ad_full_version )
     separate_arguments(_ad_full_version)
     list(GET _ad_full_version 1 ASCIIDOCTOR_VERSION)