Skip to content

Commit

Permalink
Fix glloadtests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasMagnus committed May 14, 2024
1 parent fcd9bb9 commit 96835f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/loadtests/glloadtests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
$<$<PLATFORM_ID:Windows>:NOMINMAX>
)
else()
target_compile_definitions(
${target}
PRIVATE
$<TARGET_PROPERTY:ktx,INTERFACE_COMPILE_DEFINITIONS>
$<$<PLATFORM_ID:Windows>:NOMINMAX>
)
endif()

Expand Down

0 comments on commit 96835f3

Please sign in to comment.