Skip to content

Commit

Permalink
Try overriding OpenJPH commands
Browse files Browse the repository at this point in the history
  • Loading branch information
palemieux committed Jan 10, 2025
1 parent 5485139 commit 195cabf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmake/OpenEXRSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +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)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
set(OJPH_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(OJPH_ENABLE_TIFF_SUPPORT OFF CACHE BOOL "" FORCE)
set(OJPH_BUILD_EXECUTABLES OFF CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(openjph)
install(
TARGETS openjph
Expand Down

0 comments on commit 195cabf

Please sign in to comment.