Skip to content

Commit

Permalink
Fix OpenJPH configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
palemieux committed Jan 10, 2025
1 parent 52d2ae1 commit 8e4bda6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/OpenEXRSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ FetchContent_Declare(
GIT_TAG feature/install-fix-openexr
)

set(OJPH_BUILD_TESTS OFF)
set(OJPH_ENABLE_TIFF_SUPPORT OFF)
set(OJPH_BUILD_EXECUTABLES OFF)
FetchContent_MakeAvailable(openjph)
install(
TARGETS openjph
Expand All @@ -322,7 +325,6 @@ install(
PUBLIC_HEADER
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${OPENEXR_OUTPUT_SUBDIR}
)
set_target_properties(openjph PROPERTIES OJPH_ENABLE_TIFF_SUPPORT OFF OJPH_BUILD_TESTS OFF OJPH_BUILD_EXECUTABLES OFF)

#######################################
# Get KDU
Expand Down

0 comments on commit 8e4bda6

Please sign in to comment.