Contradiction between ./cmake/Target.cmake (make doc command) and ./CMakeLists.txt (if condition).

Error when executing "make doc" command with -DEO_ONLY=false flag :

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:
Adèle Harrissart 2014-06-13 11:59:46 +02:00
commit 004c63fe82

View file

@ -96,11 +96,11 @@ if(NOT EO_ONLY)
add_subdirectory(${MO_SRC_DIR})
## EDO Module
if(EDO)
#if(EDO)
set(EDO_MODULE_NAME "Evolving Distribution Objects")
set(CMAKE_SOURCE_DIR ${EDO_SRC_DIR})
add_subdirectory(${EDO_SRC_DIR})
endif()
#endif()
## MOEO Module
set(MOEO_MODULE_NAME "Multi-Objectives EO")