Contradiction between ./cmake/Target.cmake (make doc command) and ./CMakeLists.txt (if condition).
Error when executing "make doc" command with DEO_ONLY=true flag : Built target doc-eo make[4]: *** No rule to make target `doc-edo'. Stop. make[3]: *** [CMakeFiles/doc] Error 2 make[2]: *** [CMakeFiles/doc.dir/all] Error 2 make[1]: *** [CMakeFiles/doc.dir/rule] Error 2 make: *** [doc] Error 2 Now resolved.
This commit is contained in:
parent
51a1af0924
commit
eac4584eb7
1 changed files with 18 additions and 12 deletions
|
|
@ -11,6 +11,7 @@ endif(UNIX)
|
||||||
######################################################################################
|
######################################################################################
|
||||||
|
|
||||||
if(DOXYGEN_FOUND AND DOXYGEN_EXECUTABLE)
|
if(DOXYGEN_FOUND AND DOXYGEN_EXECUTABLE)
|
||||||
|
if(NOT EO_ONLY)
|
||||||
if(SMP)
|
if(SMP)
|
||||||
add_custom_target(doc
|
add_custom_target(doc
|
||||||
COMMAND make doc-eo
|
COMMAND make doc-eo
|
||||||
|
|
@ -26,7 +27,12 @@ if(DOXYGEN_FOUND AND DOXYGEN_EXECUTABLE)
|
||||||
COMMAND make doc-mo
|
COMMAND make doc-mo
|
||||||
COMMAND make doc-moeo
|
COMMAND make doc-moeo
|
||||||
)
|
)
|
||||||
endif()
|
endif(SMP)
|
||||||
|
else()
|
||||||
|
add_custom_target(doc
|
||||||
|
COMMAND make doc-eo
|
||||||
|
)
|
||||||
|
endif(NOT EO_ONLY)
|
||||||
endif(DOXYGEN_FOUND AND DOXYGEN_EXECUTABLE)
|
endif(DOXYGEN_FOUND AND DOXYGEN_EXECUTABLE)
|
||||||
|
|
||||||
######################################################################################
|
######################################################################################
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue