summaryrefslogtreecommitdiffstats
path: root/Tests/Java/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-06-27 17:22:45 (GMT)
committerBrad King <brad.king@kitware.com>2007-06-27 17:22:45 (GMT)
commit04525424af1ad0721aa04627da40aa37e717c7a2 (patch)
tree520e4709cacb8581f2c04fa6d47448905911288d /Tests/Java/CMakeLists.txt
parenteab81489f10049fc1e97f65779adbca160fccf16 (diff)
downloadCMake-04525424af1ad0721aa04627da40aa37e717c7a2.zip
CMake-04525424af1ad0721aa04627da40aa37e717c7a2.tar.gz
CMake-04525424af1ad0721aa04627da40aa37e717c7a2.tar.bz2
BUG: For in-source version do not use a custom command output and custom target with the same name. This accidentally worked before but with a circular dependency.
Diffstat (limited to 'Tests/Java/CMakeLists.txt')
-rw-r--r--Tests/Java/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Java/CMakeLists.txt b/Tests/Java/CMakeLists.txt
index dfcc596..2af5b89 100644
--- a/Tests/Java/CMakeLists.txt
+++ b/Tests/Java/CMakeLists.txt
@@ -34,7 +34,7 @@ ELSE(NOT OLD_CUSTOM_COMMAND_WAY)
${CMAKE_Java_ARCHIVE}
-cvf hello.jar *.class)
- ADD_CUSTOM_TARGET(hello.jar ALL
+ ADD_CUSTOM_TARGET(hello_jar ALL
DEPENDS ${hello_BINARY_DIR}/hello.jar)
ENDIF(NOT OLD_CUSTOM_COMMAND_WAY)