diff options
author | Brad King <brad.king@kitware.com> | 2019-06-26 11:00:14 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-06-26 11:03:25 (GMT) |
commit | 30eee7702f5fdd331fec80539b6c33ba36652aaa (patch) | |
tree | 6c7455cce718e92789b2d44ba45daa51ad0aa102 /Tests/RunCMake | |
parent | c86476549653f9915a4b9f4cc32d3e569f959d38 (diff) | |
parent | 2ba5c37b3fed00ecc307b1d93780acd4a57695eb (diff) | |
download | CMake-30eee7702f5fdd331fec80539b6c33ba36652aaa.zip CMake-30eee7702f5fdd331fec80539b6c33ba36652aaa.tar.gz CMake-30eee7702f5fdd331fec80539b6c33ba36652aaa.tar.bz2 |
Merge topic 'export-targets-empty'
2ba5c37b3f export: Restore support for empty TARGETS list
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3484
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/export/Empty.cmake | 1 | ||||
-rw-r--r-- | Tests/RunCMake/export/RunCMakeTest.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/export/Empty.cmake b/Tests/RunCMake/export/Empty.cmake new file mode 100644 index 0000000..2198ddf --- /dev/null +++ b/Tests/RunCMake/export/Empty.cmake @@ -0,0 +1 @@ +export(TARGETS FILE targets.cmake) diff --git a/Tests/RunCMake/export/RunCMakeTest.cmake b/Tests/RunCMake/export/RunCMakeTest.cmake index 46bb1fc..97a0ca6 100644 --- a/Tests/RunCMake/export/RunCMakeTest.cmake +++ b/Tests/RunCMake/export/RunCMakeTest.cmake @@ -1,6 +1,7 @@ include(RunCMake) run_cmake(CustomTarget) +run_cmake(Empty) run_cmake(TargetNotFound) run_cmake(AppendExport) run_cmake(OldIface) |