Use PRE_LINK instead of PRE_BUILD when testing PRE_LINK.
This commit is contained in:
parent
2ea18eb0c7
commit
5ab1259140
|
@ -91,7 +91,7 @@ remove_definitions(-DCOMPLEX_DEFINED)
|
||||||
add_custom_command(TARGET complex PRE_BUILD
|
add_custom_command(TARGET complex PRE_BUILD
|
||||||
COMMAND ${CREATE_FILE_EXE}
|
COMMAND ${CREATE_FILE_EXE}
|
||||||
ARGS "${Complex_BINARY_DIR}/Executable/prebuild.txt")
|
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}
|
COMMAND ${CREATE_FILE_EXE}
|
||||||
ARGS "${Complex_BINARY_DIR}/Executable/prelink.txt")
|
ARGS "${Complex_BINARY_DIR}/Executable/prelink.txt")
|
||||||
add_custom_command(TARGET complex POST_BUILD
|
add_custom_command(TARGET complex POST_BUILD
|
||||||
|
|
Loading…
Reference in New Issue