File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,6 @@ if(NOT OpenEXR_FOUND AND NOT OCIO_INSTALL_EXT_PACKAGES STREQUAL NONE)
116116
117117 set (_OpenEXR_LIB_VER "${_OpenEXR_ExternalProject_VERSION_MAJOR} _${_OpenEXR_ExternalProject_VERSION_MINOR} " )
118118
119- set (OpenEXR_LIBRARY
120- "${_EXT_DIST_ROOT} /${CMAKE_INSTALL_LIBDIR} /${CMAKE_STATIC_LIBRARY_PREFIX} OpenEXR-${_OpenEXR_LIB_VER}${_OpenEXR_LIB_SUFFIX}${CMAKE_STATIC_LIBRARY_SUFFIX} " )
121-
122119 set_target_location(Iex)
123120 set_target_location(IlmThread)
124121 set_target_location(OpenEXR)
@@ -187,7 +184,12 @@ if(NOT OpenEXR_FOUND AND NOT OCIO_INSTALL_EXT_PACKAGES STREQUAL NONE)
187184 GIT_CONFIG advice.detachedHead=false
188185 GIT_SHALLOW TRUE
189186 PREFIX "${_EXT_BUILD_ROOT} /openexr"
190- BUILD_BYPRODUCTS ${OpenEXR_LIBRARY}
187+ BUILD_BYPRODUCTS
188+ ${Iex_LIBRARY}
189+ ${IlmThread_LIBRARY}
190+ ${OpenEXR_LIBRARY}
191+ ${OpenEXRCore_LIBRARY}
192+ ${OpenEXRUtil_LIBRARY}
191193 CMAKE_ARGS ${OpenEXR_CMAKE_ARGS}
192194 EXCLUDE_FROM_ALL TRUE
193195 BUILD_COMMAND ""
You can’t perform that action at this time.
0 commit comments