mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
physx support for vs 2017
This commit is contained in:
parent
c0f298e37d
commit
c0b50792f7
|
|
@ -52,6 +52,9 @@ if(TORQUE_CPU_X32)
|
|||
set(PHYSX3_LIBPATH_PREFIX vc12win32)
|
||||
elseif(MSVC14)
|
||||
set(PHYSX3_LIBPATH_PREFIX vc14win32)
|
||||
#VS 2017 uses 14.x toolchain so can't use MSVC15
|
||||
elseif(MSVC_VERSION GREATER_OR_EQUAL_TO 1910)
|
||||
set(PHYSX3_LIBPATH_PREFIX vc15win32)
|
||||
else()
|
||||
message(FATAL_ERROR "This version of VS is not supported")
|
||||
return()
|
||||
|
|
@ -65,6 +68,9 @@ elseif(TORQUE_CPU_X64)
|
|||
set(PHYSX3_LIBPATH_PREFIX vc12win64)
|
||||
elseif(MSVC14)
|
||||
set(PHYSX3_LIBPATH_PREFIX vc14win64)
|
||||
#VS 2017 uses 14.x toolchain so can't use MSVC15
|
||||
elseif(MSVC_VERSION GREATER_OR_EQUAL_TO 1910)
|
||||
set(PHYSX3_LIBPATH_PREFIX vc15win64)
|
||||
else()
|
||||
message(FATAL_ERROR "This version of VS is not supported")
|
||||
return()
|
||||
|
|
|
|||
Loading…
Reference in a new issue