CMake: set policy CMP0045
This commit is contained in:
parent
7e3a7a6d05
commit
db4433f116
1 changed files with 1 additions and 2 deletions
|
@ -91,8 +91,7 @@ if(DOXYGEN_FOUND AND DOXYFILE_IN)
|
||||||
|
|
||||||
configure_file(${DOXYFILE_IN} Doxyfile ESCAPE_QUOTES IMMEDIATE @ONLY)
|
configure_file(${DOXYFILE_IN} Doxyfile ESCAPE_QUOTES IMMEDIATE @ONLY)
|
||||||
|
|
||||||
get_target_property(DOC_TARGET doc TYPE)
|
if(NOT TARGET doc)
|
||||||
if(NOT DOC_TARGET)
|
|
||||||
add_custom_target(doc)
|
add_custom_target(doc)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue