mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-22 11:40:08 +00:00
Fixed doc build errors when using ninja
The generated search.html file needs special handling.
This commit is contained in:
parent
18f3b91c28
commit
c6f5825a48
@ -269,7 +269,10 @@ if (DOCUTILS_FOUND AND Python_Interpreter_FOUND)
|
|||||||
-E copy "${infile}" "${outfile}"
|
-E copy "${infile}" "${outfile}"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_custom_target( ${src} DEPENDS "${outfile}")
|
# Exclude generated search.html
|
||||||
|
if (NOT ${src} STREQUAL "search.html")
|
||||||
|
add_custom_target( ${src} DEPENDS "${outfile}")
|
||||||
|
endif()
|
||||||
|
|
||||||
list(APPEND HTML_TARGETS ${src})
|
list(APPEND HTML_TARGETS ${src})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user