summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-03-05 19:11:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-03-05 19:11:02 (GMT)
commitbbfc1ce94210919648d63f5a210a88739c858dc8 (patch)
tree74b615de10722545e77bd9f774b798a4ef1fd594 /Tests
parent631b7b8e15a0dd6169fdc2583198ff73a03551d8 (diff)
parent5ab1259140e56863ad913c090bedea288fe8ac54 (diff)
downloadCMake-bbfc1ce94210919648d63f5a210a88739c858dc8.zip
CMake-bbfc1ce94210919648d63f5a210a88739c858dc8.tar.gz
CMake-bbfc1ce94210919648d63f5a210a88739c858dc8.tar.bz2
Merge topic 'FixPreLinkTest'
5ab1259 Use PRE_LINK instead of PRE_BUILD when testing PRE_LINK.
Diffstat (limited to 'Tests')
-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 432dbf8..2613f27 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