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.

This commit is contained in:
Brad King 2007-06-27 13:22:45 -04:00
parent eab81489f1
commit 04525424af
1 changed files with 1 additions and 1 deletions

View File

@ -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)