Skip to content

Commit

Permalink
Add Imath dependency to OpenEXRCore
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Porcino <[email protected]>
  • Loading branch information
meshula committed Aug 17, 2023
1 parent 4994172 commit 3474e78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/exrinfo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright Contributors to the OpenEXR Project.

add_executable(exrinfo main.c)
target_link_libraries(exrinfo OpenEXR::OpenEXRCore Imath::Imath)
target_link_libraries(exrinfo OpenEXR::OpenEXRCore)
set_target_properties(exrinfo PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
)
Expand Down
2 changes: 2 additions & 0 deletions src/lib/OpenEXRCore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ openexr_define_library(OpenEXRCore
${OPENEXR_EXTRA_MATH_LIB}
)

target_link_libraries(OpenEXRCore PUBLIC Imath::Imath)

# when building with an internal imath, this isn't generated until
# install time, so need to use private header only include path (we
# aren't linking to imath or anything c++)
Expand Down

0 comments on commit 3474e78

Please sign in to comment.