diff --git a/src/Magnum/Vk/Test/PipelineVkTest.cpp b/src/Magnum/Vk/Test/PipelineVkTest.cpp index 6fd80df60..c2bccb7b3 100644 --- a/src/Magnum/Vk/Test/PipelineVkTest.cpp +++ b/src/Magnum/Vk/Test/PipelineVkTest.cpp @@ -153,6 +153,10 @@ void PipelineVkTest::constructRasterization() { } void PipelineVkTest::constructRasterizationViewportNotSet() { + #ifdef CORRADE_NO_ASSERT + CORRADE_SKIP("CORRADE_NO_ASSERT defined, can't test assertions"); + #endif + MeshLayout meshLayout{MeshPrimitive::Triangles}; PipelineLayout pipelineLayout{device(), PipelineLayoutCreateInfo{}};