From eeaccaa224276d588a61a5f2b4e2b6806f95cbdb Mon Sep 17 00:00:00 2001 From: Sean Donnelly <23455376+seando-adsk@users.noreply.github.com> Date: Wed, 13 Dec 2023 09:43:35 -0500 Subject: [PATCH] EMSUSD-875 - MayaUSD : Bump UFE version to v5.0 EMSUSD-875 - MayaUSD : Bump UFE version to v5.0 * Temporary setting of UFE_PREVIEW_VERSION_NUM while we transition to UFE v5.0.0. --- cmake/modules/FindUFE.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/modules/FindUFE.cmake b/cmake/modules/FindUFE.cmake index e6d26b2bbe..1a6092f02d 100644 --- a/cmake/modules/FindUFE.cmake +++ b/cmake/modules/FindUFE.cmake @@ -64,6 +64,10 @@ if(UFE_INCLUDE_DIR AND EXISTS "${UFE_INCLUDE_DIR}/ufe/ufe.h") # Note: the UFE_PATCH_LEVEL will start at 300 and will thus encode the minor version # of 3 (so we don't use UFE_MINOR_VERSION in this formula). math(EXPR UFE_PREVIEW_VERSION_NUM "4 * 1000 + ${UFE_PATCH_LEVEL}") + elseif(UFE_VERSION VERSION_EQUAL "5.0.0") + # Temporary. Once next Maya PR is released with UFE v5.0.0 this should + # be removed (along with all the UFE_PREVIEW_VERSION_NUM checks). + set(UFE_PREVIEW_VERSION_NUM 5017) endif() file(STRINGS @@ -184,4 +188,4 @@ if(UFE_INCLUDE_DIR AND EXISTS "${UFE_INCLUDE_DIR}/ufe/sceneItem.h") set(UFE_SCENEITEM_HAS_METADATA TRUE CACHE INTERNAL "ufeSceneItemHasMetaData") message(STATUS "Maya has UFE SceneItem's meta data interface") endif() -endif() \ No newline at end of file +endif()