From 9808006f0e19082a378aeaec85e92381eef7c151 Mon Sep 17 00:00:00 2001 From: Sean Donnelly <23455376+seando-adsk@users.noreply.github.com> Date: Fri, 29 Nov 2024 10:29:22 -0500 Subject: [PATCH] EMSUSD-1770 - Initial support for USD v24.11 * Boost is not needed when building UsdUfe only. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a982d190b..c424718077 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -226,7 +226,7 @@ if(BUILD_MAYAUSD_LIBRARY) endif() endif() -if(USD_VERSION VERSION_GREATER_EQUAL "0.24.11") +if(BUILD_MAYAUSD_LIBRARY AND (USD_VERSION VERSION_GREATER_EQUAL "0.24.11")) # In USD v24.11 Pixar USD has completely removed Boost. # However MayaUsd is still using a few of the Boost components, so # when using USD v24.11 (or greater) we need to find Boost ourselves