Skip to content

Commit

Permalink
Add interface includes to IlmBase and OpenEXR
Browse files Browse the repository at this point in the history
Signed-off-by: Harry Mallon <[email protected]>
  • Loading branch information
hjmallon committed Jan 7, 2020
1 parent 824ed55 commit 56e3dd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IlmBase/config/LibraryDefine.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ function(ILMBASE_DEFINE_LIBRARY libname)
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION include
PUBLIC_HEADER
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${ILMBASE_OUTPUT_SUBDIR}
)
Expand Down Expand Up @@ -143,6 +144,7 @@ function(ILMBASE_DEFINE_LIBRARY libname)
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION include
)
endif()
endfunction()
2 changes: 2 additions & 0 deletions OpenEXR/config/LibraryDefine.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function(OPENEXR_DEFINE_LIBRARY libname)
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION include
PUBLIC_HEADER
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${OPENEXR_OUTPUT_SUBDIR}
)
Expand Down Expand Up @@ -134,6 +135,7 @@ function(OPENEXR_DEFINE_LIBRARY libname)
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION include
)
endif()
endfunction()

0 comments on commit 56e3dd0

Please sign in to comment.