You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 27, 2024. It is now read-only.
option(SCAP_WORKBENCH_REBUILD_MANUAL"If enabled, user manual will be rebuilt (requires asciidoctor to be installed)"TRUE)
92
+
find_program(ASCIIDOC_EXECUTABLENAMESasciidoc)
93
+
option(SCAP_WORKBENCH_REBUILD_MANUAL"If enabled, user manual will be rebuilt (requires asciidoc to be installed)"TRUE)
94
94
option(SCAP_WORKBENCH_USE_NATIVE_FILE_DIALOGS"If enabled, native desktop environment file dialogs are used (disable if you have crashes at startup)"TRUE)
95
-
if (SCAP_WORKBENCH_REBUILD_MANUALANDNOTASCIIDOCTOR_EXECUTABLE)
96
-
message("asciidoctor has not been found, user manual won't be rebuilt even though SCAP_WORKBENCH_REBUILD_MANUAL has been enabled.")
95
+
if (SCAP_WORKBENCH_REBUILD_MANUALANDNOTASCIIDOC_EXECUTABLE)
96
+
message("asciidoc has not been found, user manual won't be rebuilt even though SCAP_WORKBENCH_REBUILD_MANUAL has been enabled.")
97
97
endif()
98
98
if (NOTEXISTS"${CMAKE_CURRENT_SOURCE_DIR}/doc/user_manual.html")
99
-
if (NOTASCIIDOCTOR_EXECUTABLE)
100
-
message(FATAL_ERROR"You seem to be using scap-workbench from the repository ('${CMAKE_SOURCE_DIR}/doc/user_manual.html' hasn't been found). Please install asciidoctor to build the manual! You can use `gem install asciidoctor` if asciidoctor is not in your distribution package repository. If you don't have access to asciidoctor and don't mind not having a manual, run `touch ${CMAKE_SOURCE_DIR}/doc/user_manual.html` and rerun cmake.")
99
+
if (NOTASCIIDOC_EXECUTABLE)
100
+
message(FATAL_ERROR"You seem to be using scap-workbench from the repository ('${CMAKE_SOURCE_DIR}/doc/user_manual.html' hasn't been found). Please install asciidoc to build the manual! If you don't have access to asciidoc and don't mind not having a manual, run `touch ${CMAKE_SOURCE_DIR}/doc/user_manual.html` and rerun cmake.")
0 commit comments