Skip to content

Commit

Permalink
Merge pull request #80 from djbelyak/beta-portability-subset
Browse files Browse the repository at this point in the history
Added beta extension definition for apple
  • Loading branch information
dzhdanNV authored Jul 17, 2024
2 parents 11a601d + 68da671 commit 9d765f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ if (NRI_ENABLE_VK_SUPPORT)
if (WIN32)
target_compile_definitions (NRI_VK PRIVATE VK_USE_PLATFORM_WIN32_KHR)
elseif (APPLE)
target_compile_definitions (NRI_VK PRIVATE VK_USE_PLATFORM_METAL_EXT)
target_compile_definitions (NRI_VK PRIVATE VK_USE_PLATFORM_METAL_EXT VK_ENABLE_BETA_EXTENSIONS)
else ()
if (NRI_ENABLE_XLIB_SUPPORT)
find_path (XLIB_HEADERS NAMES "X11/Xlib.h")
Expand Down

0 comments on commit 9d765f0

Please sign in to comment.