From 1198106e3c701588bfa6d20abc6dc216490d064c Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Sun, 23 Apr 2006 15:34:34 -0400 Subject: [PATCH] ENH: use the right name for the test --- Tests/Java/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/Java/CMakeLists.txt b/Tests/Java/CMakeLists.txt index 4eccbfdfe..cd9f07834 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)