upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / luminancehdr / trunk / luminancehdr-openexr3.patch
blobc10fbf995b87788f038e791e707935cf29601eba
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 8ff498d0..23f5c387 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -191,7 +191,7 @@ INCLUDE_DIRECTORIES(${TIFF_INCLUDE_DIR})
6 FIND_PACKAGE(PNG REQUIRED)
7 INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})
9 -FIND_PACKAGE(OpenEXR REQUIRED)
10 +FIND_PACKAGE(OpenEXR CONFIG REQUIRED)
11 INCLUDE_DIRECTORIES(${OPENEXR_INCLUDE_DIR} "${OPENEXR_INCLUDE_DIR}/OpenEXR")
13 FIND_PACKAGE(GSL REQUIRED)
14 diff --git a/src/Libpfs/CMakeLists.txt b/src/Libpfs/CMakeLists.txt
15 index 80617998..ce3c746e 100644
16 --- a/src/Libpfs/CMakeLists.txt
17 +++ b/src/Libpfs/CMakeLists.txt
18 @@ -12,7 +12,7 @@ ADD_SUBDIRECTORY(colorspace)
19 ADD_SUBDIRECTORY(io)
21 ADD_LIBRARY(pfs STATIC ${LIBPFS_H} ${LIBPFS_HXX} ${LIBPFS_CPP})
22 -TARGET_LINK_LIBRARIES(pfs Qt5::Core Qt5::Gui Qt5::Widgets)
23 +TARGET_LINK_LIBRARIES(pfs Qt5::Core Qt5::Gui Qt5::Widgets OpenEXR::OpenEXR)
25 SET(LUMINANCE_MODULES_GUI ${LUMINANCE_MODULES_GUI} pfs PARENT_SCOPE)
26 SET(LUMINANCE_MODULES_CLI ${LUMINANCE_MODULES_CLI} pfs PARENT_SCOPE)