Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove mcer_ignore.cpp
[simgrid.git] / tools / cmake / Documentation.cmake
index 038edc3..17f0fb2 100644 (file)
@@ -122,7 +122,7 @@ add_custom_target(sync-gforge-dtd
 endif() # Doxygen found
 
 
-if (HAVE_Java)
+if (Java_FOUND)
   find_path(JAVADOC_PATH  NAMES javadoc   PATHS NO_DEFAULT_PATHS)
   mark_as_advanced(JAVADOC_PATH)