Skip to content

Commit

Permalink
set C standard to 11 for Vulkan backend
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-devv committed Apr 1, 2024
1 parent e97c1e0 commit 5515796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/memonitor-sys/vulkan/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ option(MEMONITOR_VALIDATE "Use Vulkan validation layers" OFF)
add_library(memonitor-vk STATIC "include/memonitor.h" "src/memonitor.c")
target_include_directories(memonitor-vk PUBLIC "include")
target_link_libraries(memonitor-vk PRIVATE volk)
set_property(TARGET memonitor-vk PROPERTY C_STANDARD 11)

if (MEMONITOR_VALIDATE)
target_compile_definitions(memonitor-vk PUBLIC USE_VALIDATION_LAYERS)
Expand Down

0 comments on commit 5515796

Please sign in to comment.