From 4f0f7feded5c9f910ffcaa9d7fc83f3153632bb1 Mon Sep 17 00:00:00 2001 From: Li Yanxu Date: Wed, 15 Jan 2025 22:44:11 +0800 Subject: [PATCH] update FindFBX to 2020.3.7 for latest Autodesk fbx version --- FindFBX.cmake | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/FindFBX.cmake b/FindFBX.cmake index 0c29dc1..1c450ee 100644 --- a/FindFBX.cmake +++ b/FindFBX.cmake @@ -24,7 +24,7 @@ else() endif() if (NOT DEFINED FBXSDK_VERSION) - set(FBXSDK_VERSION "2019.2") + set(FBXSDK_VERSION "2020.3.7") endif() set(_fbxsdk_vstudio_version "vs2017") @@ -43,8 +43,8 @@ set(FBXSDK_WINDOWS_ROOT "${FBXSDK_SDKS_ABS}/Windows/${FBXSDK_VERSION}") if (APPLE) set(_fbxsdk_root "${FBXSDK_APPLE_ROOT}") - set(_fbxsdk_libdir_debug "lib/clang/debug") - set(_fbxsdk_libdir_release "lib/clang/release") + set(_fbxsdk_libdir_debug "lib/debug") + set(_fbxsdk_libdir_release "lib/release") set(_fbxsdk_libname_debug "libfbxsdk.a") set(_fbxsdk_libname_release "libfbxsdk.a") elseif (WIN32) @@ -61,11 +61,11 @@ elseif (WIN32) elseif (UNIX) set(_fbxsdk_root "${FBXSDK_LINUX_ROOT}") if (ARCH_32) - set(_fbxsdk_libdir_debug "lib/gcc/x86/debug") - set(_fbxsdk_libdir_release "lib/gcc/x86/release") + set(_fbxsdk_libdir_debug "lib/debug") + set(_fbxsdk_libdir_release "lib/release") else() - set(_fbxsdk_libdir_debug "lib/gcc/x64/debug") - set(_fbxsdk_libdir_release "lib/gcc/x64/release") + set(_fbxsdk_libdir_debug "lib/debug") + set(_fbxsdk_libdir_release "lib/release") endif() set(_fbxsdk_libname_debug "libfbxsdk.a") set(_fbxsdk_libname_release "libfbxsdk.a")