Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add simgrid dependency for bindings.
[simgrid.git] / buildtools / Cmake / MakeJava.cmake
index 01d6941..32b12ef 100644 (file)
@@ -29,7 +29,7 @@ ADD_CUSTOM_COMMAND(
 )
 
 ADD_CUSTOM_TARGET(simgrid_java ALL
 )
 
 ADD_CUSTOM_TARGET(simgrid_java ALL
-                  DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/simgrid.jar)
+                  DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/simgrid.jar simgrid)
 
 ADD_CUSTOM_COMMAND(
   OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/simgrid.jar
 
 ADD_CUSTOM_COMMAND(
   OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/simgrid.jar