File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ set(EXCLUDED_MANPAGES "" CACHE STRING "Man pages that are not installed")
1515list (LENGTH EXCLUDED_MANPAGES EXCLUDED_MANPAGES_SIZE)
1616if (EXCLUDED_MANPAGES_SIZE GREATER 0)
1717 message (STATUS "Will exclude ${EXCLUDED_MANPAGES_SIZE} man pages:" )
18- foreach (EXCLUDED_MANPAGE EXCLUDED_MANPAGES)
18+ foreach (EXCLUDED_MANPAGE ${ EXCLUDED_MANPAGES} )
1919 message (STATUS " * ${EXCLUDED_MANPAGE} " )
2020 endforeach ()
2121 set (FILTER_EXCLUDED_MANPAGES 1)
@@ -28,7 +28,7 @@ if (ENABLE_APPEND_COLOPHON)
2828endif (ENABLE_APPEND_COLOPHON)
2929
3030find_program (opencc opencc HINTS "/usr/bin/" )
31- if (opencc_NOTFOUND )
31+ if (NOT opencc )
3232 message (FATAL_ERROR "OpenCC not detected on your system" )
3333endif ()
3434
You can’t perform that action at this time.
0 commit comments