From fd44b97340b27aec9865dd2a01b2073984c8ee95 Mon Sep 17 00:00:00 2001 From: David Lanier Date: Thu, 25 Jan 2024 10:38:46 +0100 Subject: [PATCH] Test for mayausdAPI is required only if it was found during compile time. --- test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt b/test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt index 51d007cb33..723c96053d 100644 --- a/test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt +++ b/test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt @@ -14,7 +14,7 @@ set(TEST_SCRIPT_FILES testNewSceneWithStage.py testDirectionalLights.py testFlowViewportAPI.py - testMayaUsdAPIUsage.py + $<$:testMayaUsdAPIUsage.py> #add this test only if the MAYAUSDAPI_LIBRARY has been found during compile time. cpp/testColorPreferences.py cpp/testCppFramework.py cpp/testMayaSceneFlattening.py