1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

imgcodecs: disable OpenEXR in runtime for 3rdparty source code

- builtin OpenEXR source code is outdated
- external OpenEXR distributions are allowed
This commit is contained in:
Alexander Alekhin
2021-12-23 09:58:56 +00:00
parent 19ac54277b
commit 381d9bafdf
4 changed files with 40 additions and 1 deletions
+1
View File
@@ -240,6 +240,7 @@ if(WITH_OPENEXR)
set(OPENEXR_LIBRARIES IlmImf)
add_subdirectory("${OpenCV_SOURCE_DIR}/3rdparty/openexr")
if(OPENEXR_VERSION) # check via TARGET doesn't work
set(BUILD_OPENEXR ON)
set(HAVE_OPENEXR YES)
endif()
endif()