Changeset View
Changeset View
Standalone View
Standalone View
files/OpenEXR-instead-of-ilmbase.patch
- This file was added.
| --- a/cmake/modules/FindOpenEXR.cmake | |||||
| +++ b/cmake/modules/FindOpenEXR.cmake | |||||
| @@ -23,7 +23,7 @@ | |||||
| # | |||||
| find_path(OPENEXR_INCLUDE_DIR | |||||
| - OpenEXR/half.h | |||||
| + OpenEXR/ImfImage.h | |||||
| HINTS | |||||
| "${OPENEXR_LOCATION}" | |||||
| "$ENV{OPENEXR_LOCATION}" | |||||
| @@ -60,9 +60,7 @@ foreach(OPENEXR_LIB | |||||
| Half | |||||
| Iex | |||||
| Imath | |||||
| - IlmImf | |||||
| IlmThread | |||||
| - IlmImfUtil | |||||
| IexMath | |||||
| ) | |||||
| @@ -89,6 +87,8 @@ endforeach(OPENEXR_LIB) | |||||
| # So #include <half.h> works | |||||
| list(APPEND OPENEXR_INCLUDE_DIRS ${OPENEXR_INCLUDE_DIR}) | |||||
| list(APPEND OPENEXR_INCLUDE_DIRS ${OPENEXR_INCLUDE_DIR}/OpenEXR) | |||||
| +list(APPEND OPENEXR_INCLUDE_DIRS /usr/include/Imath) | |||||
| +list(APPEND OPENEXR_INCLUDE_DIRS ${OPENEXR_INCLUDE_DIR}/Imath) | |||||
| include(FindPackageHandleStandardArgs) | |||||
| find_package_handle_standard_args(OpenEXR | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.