Skip to content

Commit 45bb073

Browse files
authored
cmake: shorten option to TRURL_MANUAL (#403)
Also fixing a bad typo in the original name. Follow-up to 9fe363e #400
1 parent b85b25b commit 45bb073

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#
2626
# Options:
2727
#
28-
# - `TRURL_EMABLE_MANUAL`: Build the trurl man page (requires Perl). Default: `ON`
28+
# - `TRURL_MANUAL`: Build the trurl man page (requires Perl). Default: `ON`
2929
# - `TRURL_COMPLETION_ZSH`: Install zsh completions (requires POSIX shell). Default: `OFF`
3030
# - `TRURL_TESTS`: Run tests (requires Python). Default: `ON`
3131
# Test targets:
@@ -124,8 +124,8 @@ endif()
124124

125125
# Manual
126126

127-
option(TRURL_EMABLE_MANUAL "Build the trurl man page (requires Perl)" ON)
128-
if(TRURL_EMABLE_MANUAL)
127+
option(TRURL_MANUAL "Build the trurl man page (requires Perl)" ON)
128+
if(TRURL_MANUAL)
129129
find_package(Perl)
130130
if(NOT Perl_FOUND)
131131
message(WARNING "Perl not found, cannot build the man page.")

0 commit comments

Comments
 (0)