Skip to content

Commit

Permalink
Fix java_modular examples
Browse files Browse the repository at this point in the history
Force to build Load.java before any other examples
  • Loading branch information
vigsterkr committed Aug 1, 2013
1 parent e55bff1 commit 7782a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/undocumented/java_modular/CMakeLists.txt
Expand Up @@ -16,7 +16,7 @@ FOREACH(EXAMPLE_SRC ${EXAMPLES_SRC})
ADD_CUSTOM_COMMAND(OUTPUT ${EXAMPLE_NAME}.class
COMMAND ${Java_JAVAC_EXECUTABLE} -cp ${CLASSPATH}
-d ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${EXAMPLE_SRC}
DEPENDS shogun_jar)
DEPENDS shogun_jar Load.class)
LIST(APPEND JAVA_EXAMPLES ${EXAMPLE_NAME}.class)

add_test(NAME java_modular-${EXAMPLE_NAME}
Expand Down

0 comments on commit 7782a14

Please sign in to comment.