Fix missing 'W' in -Wpedantic for non-MSVC builds (#2240)

This commit is contained in:
Andreas Süßenbach 2025-08-05 11:49:13 +02:00 committed by GitHub
parent a33145af43
commit 6b28af9f1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,7 @@ function( vulkan_hpp__setup_warning_level )
target_compile_options( ${TARGET_NAME} PRIVATE /permissive- )
endif()
else()
target_compile_options( ${TARGET_NAME} PRIVATE -Wall -Wextra -pedantic -Werror )
target_compile_options( ${TARGET_NAME} PRIVATE -Wall -Wextra -Wpedantic -Werror )
endif()
endfunction()