endif()
endif()
+if(enable_java)
+ include(${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/MakeJava.cmake)
+endif()
+
add_dependencies(simgrid maintainer_files)
# if supernovaeing, we need some depends to make sure that the source gets generated
# The availability of libunwind was checked in CompleteInFiles.cmake
# (that includes FindLibunwind.cmake), so simply load it now.
+ SET(SIMGRID_DEP "${SIMGRID_DEP} -lunwind")
# This supposes that the host machine is either an AMD or a X86.
# This is deeply wrong, and should be fixed by manually loading -lunwind-PLAT (FIXME)
if(PROCESSOR_x86_64)