CMake: Look for both "ldoc" and "ldoc.lua"
At least debian uses "ldoc" for the binary name instead of "ldoc.lua" while upstream seems to prefer the later... Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
aaa771f887
commit
abd8246c1b
|
@ -54,7 +54,10 @@ a_find_program(XMLTO_EXECUTABLE xmlto FALSE)
|
||||||
a_find_program(GZIP_EXECUTABLE gzip FALSE)
|
a_find_program(GZIP_EXECUTABLE gzip FALSE)
|
||||||
# lua documentation
|
# lua documentation
|
||||||
a_find_program(LUA_EXECUTABLE lua FALSE)
|
a_find_program(LUA_EXECUTABLE lua FALSE)
|
||||||
a_find_program(LDOC_EXECUTABLE ldoc.lua FALSE)
|
a_find_program(LDOC_EXECUTABLE ldoc FALSE)
|
||||||
|
if(NOT LDOC_EXECUTABLE)
|
||||||
|
a_find_program(LDOC_EXECUTABLE ldoc.lua FALSE)
|
||||||
|
endif()
|
||||||
# theme graphics
|
# theme graphics
|
||||||
a_find_program(CONVERT_EXECUTABLE convert TRUE)
|
a_find_program(CONVERT_EXECUTABLE convert TRUE)
|
||||||
# doxygen
|
# doxygen
|
||||||
|
|
Loading…
Reference in New Issue