diff options
author | Aiden Lambert <aidenramen29@gmail.com> | 2022-06-21 21:03:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-06-22 13:46:46 (GMT) |
commit | f849e33452df159eceec9ae1e8d3d127caafc907 (patch) | |
tree | e5b835d9e06b3a29073571f3fa16171851b85f79 /Tests/FindVulkan/Test/CMakeLists.txt | |
parent | d94e09ec88c99434941029cde07b6c1e6bd0dde1 (diff) | |
download | CMake-f849e33452df159eceec9ae1e8d3d127caafc907.zip CMake-f849e33452df159eceec9ae1e8d3d127caafc907.tar.gz CMake-f849e33452df159eceec9ae1e8d3d127caafc907.tar.bz2 |
FindVulkan: Add 'volk' component
Diffstat (limited to 'Tests/FindVulkan/Test/CMakeLists.txt')
-rw-r--r-- | Tests/FindVulkan/Test/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/FindVulkan/Test/CMakeLists.txt b/Tests/FindVulkan/Test/CMakeLists.txt index 42543ac..727e1ce 100644 --- a/Tests/FindVulkan/Test/CMakeLists.txt +++ b/Tests/FindVulkan/Test/CMakeLists.txt @@ -7,6 +7,7 @@ set(components glslang shaderc_combined SPIRV-Tools + volk ) if(APPLE) list(APPEND components MoltenVK) @@ -75,6 +76,10 @@ if(APPLE) add_test(NAME test_tgt_MoltenVK COMMAND test_tgt_MoltenVK) endif() +add_executable(test_tgt_volk main-volk.cxx) +target_link_libraries(test_tgt_volk Vulkan::volk) +add_test(NAME test_tgt_volk COMMAND test_tgt_volk) + if(Vulkan_GLSLC_EXECUTABLE) add_test(NAME test_glslc COMMAND ${CMAKE_COMMAND} |