cmake: made OpenEXR a direct dependency since we use it for
the caching system
This commit is contained in:
@@ -43,6 +43,8 @@ find_package(OpenColorIO REQUIRED)
|
||||
|
||||
find_package(OpenImageIO REQUIRED)
|
||||
|
||||
find_package(OpenEXR REQUIRED)
|
||||
|
||||
find_package(Qt5 5.6 REQUIRED
|
||||
COMPONENTS
|
||||
Core
|
||||
|
||||
@@ -106,6 +106,7 @@ target_include_directories(
|
||||
${FFMPEG_INCLUDE_DIRS}
|
||||
${OCIO_INCLUDE_DIRS}
|
||||
${OIIO_INCLUDE_DIRS}
|
||||
${OPENEXR_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
@@ -126,6 +127,7 @@ target_link_libraries(
|
||||
FFMPEG::swresample
|
||||
${OCIO_LIBRARIES}
|
||||
${OIIO_LIBRARIES}
|
||||
${OPENEXR_LIBRARIES}
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
|
||||
Reference in New Issue
Block a user