From 96835f3639976f99476007554f8c0f82a991bc95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Ferenc=20Nagy-Egri?= Date: Tue, 14 May 2024 14:42:51 +0200 Subject: [PATCH] Fix glloadtests on Windows --- tests/loadtests/glloadtests.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/loadtests/glloadtests.cmake b/tests/loadtests/glloadtests.cmake index 511bbb46d8..b268f6fa93 100644 --- a/tests/loadtests/glloadtests.cmake +++ b/tests/loadtests/glloadtests.cmake @@ -171,12 +171,14 @@ function( create_gl_target target version sources common_resources test_images GL_CONTEXT_PROFILE=${KTX_GL_CONTEXT_PROFILE} GL_CONTEXT_MAJOR_VERSION=${KTX_GL_CONTEXT_MAJOR_VERSION} GL_CONTEXT_MINOR_VERSION=${KTX_GL_CONTEXT_MINOR_VERSION} + $<$:NOMINMAX> ) else() target_compile_definitions( ${target} PRIVATE $ + $<$:NOMINMAX> ) endif()