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()