summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Java/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/Java/CMakeLists.txt b/Tests/Java/CMakeLists.txt
index 4eccbfd..cd9f078 100644
--- a/Tests/Java/CMakeLists.txt
+++ b/Tests/Java/CMakeLists.txt
@@ -24,13 +24,13 @@ IF(OLD_CUSTOM_COMMAND_WAY)
DEPENDS ${hello_BINARY_DIR}/A.class
COMMAND ${CMAKE_Java_COMPILER} ARGS -classpath . -d ${hello_BINARY_DIR} ${hello_SOURCE_DIR}/HelloWorld.java)
ADD_CUSTOM_COMMAND(
- OUTPUT ${hello_BINARY_DIR}/foo.jar
+ OUTPUT ${hello_BINARY_DIR}/hello.jar
DEPENDS ${hello_BINARY_DIR}/A.class ${hello_BINARY_DIR}/HelloWorld.class
COMMAND ${CMAKE_COMMAND}
ARGS -E chdir ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_Java_ARCHIVE}
-cvf foo.jar *.class)
- ADD_CUSTOM_TARGET(foo.jar ALL
- DEPENDS ${hello_BINARY_DIR}/foo.jar)
+ ADD_CUSTOM_TARGET(hello.jar ALL
+ DEPENDS ${hello_BINARY_DIR}/hello.jar)
ENDIF(OLD_CUSTOM_COMMAND_WAY)