From bb9655db027311d1e2bfd0ae99bb1fa9255aeb3a Mon Sep 17 00:00:00 2001 From: dmitrii-z <43916437+dmitrii-z@users.noreply.github.com> Date: Mon, 15 May 2023 17:51:53 +0300 Subject: [PATCH] exr module update (#660) --- cmake/modules/FindOpenEXR.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()