mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50:10 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user