feat: Bump standard to 20 (#1376)

* Bump to 20

* fix warnings and errors

* thanks RakNet
This commit is contained in:
David Markowitz
2024-01-01 23:53:00 -08:00
committed by GitHub
parent 85672e060a
commit 1941679d27
8 changed files with 13 additions and 11 deletions

View File

@@ -80,6 +80,8 @@ target_compile_options(raknet PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:
/w>)
set_property(TARGET raknet PROPERTY CXX_STANDARD 17)
if(WIN32)
# Link Win Sockets 2 to RakNet
target_link_libraries(raknet ws2_32)