diff options
author | Brad King <brad.king@kitware.com> | 2010-11-05 13:05:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-11-05 13:05:08 (GMT) |
commit | 95f149e61f1ad8c8cadd74f2dbe36a2613815cc2 (patch) | |
tree | f1cec8d2621f029c8243db86ed1a73ec1bed4008 /Tests/BuildDepends/Project/CMakeLists.txt | |
parent | 07cfa57ec5f9f906e075512646100719a0a615aa (diff) | |
download | CMake-95f149e61f1ad8c8cadd74f2dbe36a2613815cc2.zip CMake-95f149e61f1ad8c8cadd74f2dbe36a2613815cc2.tar.gz CMake-95f149e61f1ad8c8cadd74f2dbe36a2613815cc2.tar.bz2 |
Define LINK_DEPENDS target property (#11406)
Custom Makefile link rules may need to depend on linker scripts. Define
this property to allow user-specified link-time dependencies.
Diffstat (limited to 'Tests/BuildDepends/Project/CMakeLists.txt')
-rw-r--r-- | Tests/BuildDepends/Project/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/BuildDepends/Project/CMakeLists.txt b/Tests/BuildDepends/Project/CMakeLists.txt index e9d1296..70a2f37 100644 --- a/Tests/BuildDepends/Project/CMakeLists.txt +++ b/Tests/BuildDepends/Project/CMakeLists.txt @@ -80,3 +80,8 @@ set_property( DIRECTORY PROPERTY IMPLICIT_DEPENDS_INCLUDE_TRANSFORM "ZOT_DIR(%)=<zot_%_dir.hxx>" ) + +if(TEST_LINK_DEPENDS) + add_executable(linkdep linkdep.cxx) + set_property(TARGET linkdep PROPERTY LINK_DEPENDS ${TEST_LINK_DEPENDS}) +endif() |