We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fccfaed commit 0b00509Copy full SHA for 0b00509
tests/CMakeLists.txt
@@ -412,7 +412,7 @@ function(pybind11_enable_warnings target_name)
412
-Wundef
413
-Wnon-virtual-dtor)
414
target_link_options(${target_name} PRIVATE -Werror -Wodr -Wlto-type-mismatch)
415
- if(DEFINED CMAKE_CXX_STANDARD AND NOT CMAKE_CXX_STANDARD VERSION_LESS 20)
+ if(DEFINED CMAKE_CXX_STANDARD AND NOT CMAKE_CXX_STANDARD VERSION_LESS 14)
416
target_compile_options(${target_name} PRIVATE -Wpedantic)
417
endif()
418
0 commit comments