mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Only enable doc target if breathe is available
This commit is contained in:
parent
ce4d3e175c
commit
c3e845ab7e
@ -1,3 +1,8 @@
|
|||||||
|
if (NOT EXISTS ${FORMAT_SOURCE_DIR}/breathe/breathe)
|
||||||
|
message(STATUS "Target 'doc' disabled (requires breathe module)")
|
||||||
|
return ()
|
||||||
|
endif ()
|
||||||
|
|
||||||
foreach (program doxygen sphinx-build)
|
foreach (program doxygen sphinx-build)
|
||||||
find_program(${program} ${program})
|
find_program(${program} ${program})
|
||||||
if (NOT ${program})
|
if (NOT ${program})
|
||||||
|
Loading…
Reference in New Issue
Block a user