Skip to content

Commit

Permalink
cube: Add NOMINMAX to compiler defines
Browse files Browse the repository at this point in the history
Prevents compilation issues in vkcubekpp
  • Loading branch information
charles-lunarg authored and mikes-lunarg committed Feb 16, 2024
1 parent b8092c8 commit 069bd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cube/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux|BSD")
endif()

if(WIN32)
add_definitions(-DVK_USE_PLATFORM_WIN32_KHR -DWIN32_LEAN_AND_MEAN)
add_definitions(-DVK_USE_PLATFORM_WIN32_KHR -DWIN32_LEAN_AND_MEAN -DNOMINMAX)
elseif(ANDROID)
add_definitions(-DVK_USE_PLATFORM_ANDROID_KHR)
elseif(APPLE)
Expand Down

0 comments on commit 069bd14

Please sign in to comment.