]> AND Public Git Repository - simgrid.git/blobdiff - examples/java/chord/CMakeLists.txt
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "Replace xbt_heap by boost::heap::fibonacci_heap"
[simgrid.git] / examples / java / chord / CMakeLists.txt
index ddab5025346015368af6814ebac54ba8f17e7fa9..48b04399e219410a802e65b6d65208ce45a73504 100644 (file)
@@ -18,7 +18,7 @@ if(enable_java)
     COMMENT "Building ${example}..."
     OUTPUT ${example}_compiled
     DEPENDS ${sources} simgrid-java_jar ${SIMGRID_JAR}
-    COMMAND ${JAVA_COMPILE} -cp ${SIMGRID_JAR}
+    COMMAND ${JAVA_COMPILE} -classpath ${SIMGRID_JAR}
                              -d ${CMAKE_CURRENT_BINARY_DIR}/.. ${sources}
     COMMAND ${CMAKE_COMMAND} -E remove ${example}_compiled
     COMMAND ${CMAKE_COMMAND} -E touch ${example}_compiled