diff options
author | Brad King <brad.king@kitware.com> | 2024-03-11 20:29:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-11 20:35:44 (GMT) |
commit | 67983e59306e738752af69fc38e7ea490ce2a81b (patch) | |
tree | 1a4e371edf30e6bac5b632ac5bf9ad1140fa927a | |
parent | 0379196c2219ca615a69e546054ff96a23061f93 (diff) | |
download | CMake-67983e59306e738752af69fc38e7ea490ce2a81b.zip CMake-67983e59306e738752af69fc38e7ea490ce2a81b.tar.gz CMake-67983e59306e738752af69fc38e7ea490ce2a81b.tar.bz2 |
Tests: Enable RunCMake.CPack_External test more reliably
In commit 2ef966bc77 (Testing: Add test for CPack External generator,
2018-06-11, v3.13.0-rc1~361^2~2) this test was added without defining
its `get_test_prerequirements` function, so it has been re-using the
conditions from the previous test type (STGZ).
-rw-r--r-- | Tests/RunCMake/CPack/External/Prerequirements.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/External/Prerequirements.cmake b/Tests/RunCMake/CPack/External/Prerequirements.cmake index e69de29..dbaf682 100644 --- a/Tests/RunCMake/CPack/External/Prerequirements.cmake +++ b/Tests/RunCMake/CPack/External/Prerequirements.cmake @@ -0,0 +1,4 @@ +function(get_test_prerequirements found_var config_file) + file(WRITE "${config_file}" "") + set(${found_var} true PARENT_SCOPE) +endfunction() |