diff --git a/cmake/modules/FindOpenEXR.cmake b/cmake/modules/FindOpenEXR.cmake index 3a3e69d4a..d163d58fc 100644 --- a/cmake/modules/FindOpenEXR.cmake +++ b/cmake/modules/FindOpenEXR.cmake @@ -22,7 +22,7 @@ # language governing permissions and limitations under the Apache License. # -if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows") +if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows" AND HoudiniUSD_FOUND) set(PATH_PARAMS NO_DEFAULT_PATH NO_SYSTEM_ENVIRONMENT_PATH) endif()