From 9cefa2f08dd9cd41a133c1120fd0d53d15b6b665 Mon Sep 17 00:00:00 2001 From: Juan Ramos Date: Tue, 6 Feb 2024 20:23:19 -0700 Subject: Tests/FindVulkan: Allow easy way to switch between VulkanSDK installations Running with `--fresh` resets the cache each time. Which is valuable for switching between SDK installations. --- Tests/FindVulkan/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tests/FindVulkan/CMakeLists.txt b/Tests/FindVulkan/CMakeLists.txt index 46ce1c6..d7c99ce 100644 --- a/Tests/FindVulkan/CMakeLists.txt +++ b/Tests/FindVulkan/CMakeLists.txt @@ -5,6 +5,7 @@ add_test(NAME FindVulkan.Test COMMAND "${CMake_BINARY_DIR}/Tests/FindVulkan/Test" ${build_generator_args} --build-project TestFindVulkan - --build-options ${build_options} + # Use --fresh to make testing multiple SDK versions on the same computer easier + --build-options ${build_options} --fresh --test-command ${CMAKE_CTEST_COMMAND} -V -C $ ) -- cgit v0.12