Skip to content

Commit

Permalink
Full debug USD with OpenImageIO fails
Browse files Browse the repository at this point in the history
issue: PixarAnimationStudios#2516

Fixes the following build error on Debug config:

-- Could NOT find Imath (missing: Imath_DIR)
-- Imath not found. Looking for OpenEXR instead.
CMake Error at C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenEXR (missing: OPENEXR_LIBRARIES) (found version "2.5.2")
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindOpenEXR.cmake:94 (find_package_handle_standard_args)
  cmake/defaults/Packages.cmake:342 (find_package)
  CMakeLists.txt:23 (include)
  • Loading branch information
ashwinbhat committed Jun 29, 2023
1 parent df0e5a5 commit 5d54678
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/modules/FindOpenEXR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ foreach(OPENEXR_LIB
find_library(OPENEXR_${OPENEXR_LIB}_LIBRARY
NAMES
${OPENEXR_LIB}-${OPENEXR_MAJOR_VERSION}_${OPENEXR_MINOR_VERSION}
${OPENEXR_LIB}-${OPENEXR_MAJOR_VERSION}_${OPENEXR_MINOR_VERSION}_d
${OPENEXR_LIB}
HINTS
"${OPENEXR_LOCATION}"
Expand Down

0 comments on commit 5d54678

Please sign in to comment.