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