Use PRE_LINK instead of PRE_BUILD when testing PRE_LINK.

This commit is contained in:
James Bigler 2013-03-04 13:21:41 -07:00
parent 2ea18eb0c7
commit 5ab1259140
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ remove_definitions(-DCOMPLEX_DEFINED)
add_custom_command(TARGET complex PRE_BUILD
COMMAND ${CREATE_FILE_EXE}
ARGS "${Complex_BINARY_DIR}/Executable/prebuild.txt")
add_custom_command(TARGET complex PRE_BUILD
add_custom_command(TARGET complex PRE_LINK
COMMAND ${CREATE_FILE_EXE}
ARGS "${Complex_BINARY_DIR}/Executable/prelink.txt")
add_custom_command(TARGET complex POST_BUILD