Skip to content

Commit

Permalink
Adds vs2022 compiler support for fbxsdk
Browse files Browse the repository at this point in the history
  • Loading branch information
T-rvw committed Nov 11, 2023
1 parent 36d2420 commit 02633f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-utils/cmake/modules/FindFbx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ function(FindFbxLibrariesGeneric _FBX_ROOT_DIR _OUT_FBX_LIBRARIES _OUT_FBX_LIBRA
# Figures out matching compiler/os directory.

if("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC")
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.20)
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.30)
set(FBX_CP_PATH "vs2022")
elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.20)
set(FBX_CP_PATH "vs2019")
elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.10)
set(FBX_CP_PATH "vs2017")
Expand Down

0 comments on commit 02633f8

Please sign in to comment.