mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 13:30:39 +00: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:
parent
eab81489f1
commit
04525424af
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user