cmake: disable openexr if its not found (rather then throwing an error)
This commit is contained in:
parent
0b939f9ea7
commit
37b4e2af77
@ -228,6 +228,10 @@ IF(UNIX AND NOT APPLE)
|
||||
/opt/include/OpenEXR
|
||||
)
|
||||
SET(OPENEXR_LIB Half IlmImf Iex Imath)
|
||||
|
||||
IF(NOT OPENEXR_INC)
|
||||
SET(WITH_OPENEXR OFF)
|
||||
ENDIF(NOT OPENEXR_INC)
|
||||
ENDIF(WITH_OPENEXR)
|
||||
|
||||
IF(WITH_TIFF)
|
||||
|
Loading…
Reference in New Issue
Block a user