Skip to content

Commit

Permalink
Second step towards solving install
Browse files Browse the repository at this point in the history
  • Loading branch information
palemieux committed Jan 7, 2025
1 parent 77c7d07 commit b2b882a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cmake/OpenEXRSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,13 @@ FetchContent_Declare(
FetchContent_MakeAvailable(openjph)
install(
TARGETS openjph
EXPORT OpenEXR
EXPORT ${PROJECT_NAME}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
PUBLIC_HEADER
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${OPENEXR_OUTPUT_SUBDIR}
)
set_property(DIRECTORY ${openjph_SOURCE_DIR} PROPERTY OJPH_ENABLE_TIFF_SUPPORT OFF)
set_property(DIRECTORY ${openjph_SOURCE_DIR} PROPERTY OJPH_BUILD_TESTS OFF)
Expand Down

0 comments on commit b2b882a

Please sign in to comment.