Compilation fixes for C++20

This commit is contained in:
Jeff Hutchinson 2022-11-27 23:08:07 -05:00
parent e16351605b
commit 1940becb2d
40 changed files with 220 additions and 211 deletions

View file

@ -387,8 +387,8 @@ macro(finishExecutable)
add_executable("${PROJECT_NAME}" WIN32 ${${PROJECT_NAME}_files})
endif()
# Torque requires c++17
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17)
# Torque requires c++20
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_20)
addInclude("${firstDir}")