Changeset View
Changeset View
Standalone View
Standalone View
3rdparty/ext_frameworks/kimageformats.diff
- This file was added.
1 | diff --git a/src/imageformats/CMakeLists.txt b/src/imageformats/CMakeLists.txt | ||||
---|---|---|---|---|---|
2 | index 0db2ae8..e78b55d 100644 | ||||
3 | --- a/src/imageformats/CMakeLists.txt | ||||
4 | +++ b/src/imageformats/CMakeLists.txt | ||||
5 | @@ -28,6 +28,9 @@ if(OpenEXR_FOUND) | ||||
6 | add_library(kimg_exr MODULE exr.cpp) | ||||
7 | target_link_libraries(kimg_exr Qt5::Gui OpenEXR::IlmImf) | ||||
8 | kde_target_enable_exceptions(kimg_exr PRIVATE) | ||||
9 | + if (WIN32) | ||||
10 | + add_definitions(-DOPENEXR_DLL) | ||||
11 | + endif() | ||||
12 | | ||||
13 | install(TARGETS kimg_exr DESTINATION ${KDE_INSTALL_QTPLUGINDIR}/imageformats/) | ||||
14 | install(FILES exr.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/qimageioplugins/) |