summaryrefslogtreecommitdiff
path: root/Tests/Complex
diff options
context:
space:
mode:
authorJames Bigler <jamesbigler@gmail.com>2013-03-04 13:21:41 -0700
committerJames Bigler <jamesbigler@gmail.com>2013-03-04 13:21:41 -0700
commit5ab1259140e56863ad913c090bedea288fe8ac54 (patch)
tree3cd3dbba5d68cd44da1e419a1a757c2461e7d40b /Tests/Complex
parent2ea18eb0c70a0fbb5061b0f7215c40d5eade5447 (diff)
downloadcmake-5ab1259140e56863ad913c090bedea288fe8ac54.tar.gz
Use PRE_LINK instead of PRE_BUILD when testing PRE_LINK.
Diffstat (limited to 'Tests/Complex')
-rw-r--r--Tests/Complex/Executable/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt
index 432dbf8901..2613f2762c 100644
--- a/Tests/Complex/Executable/CMakeLists.txt
+++ b/Tests/Complex/Executable/CMakeLists.txt
@@ -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