mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-28 08:39:34 +00:00
Compilation fixes for C++20
This commit is contained in:
parent
e16351605b
commit
1940becb2d
40 changed files with 220 additions and 211 deletions
|
|
@ -20,8 +20,7 @@
|
|||
# IN THE SOFTWARE.
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
# JTH: We require CMake 3.1.4 for MSVC14 compatibility check
|
||||
cmake_minimum_required(VERSION 3.1.4)
|
||||
cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
include(basics.cmake)
|
||||
|
||||
|
|
|
|||
|
|
@ -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}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue