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)
|
||||
|
||||
get_target_property(DOC_TARGET doc TYPE)
|
||||
if(NOT DOC_TARGET)
|
||||
if(NOT TARGET doc)
|
||||
add_custom_target(doc)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue