Skip to content

Commit

Permalink
build(fuzz): build fuzz with dwarf-4. (test #3)
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Leprince <[email protected]>
  • Loading branch information
pleprince committed Apr 23, 2024
1 parent 5b0be1d commit cb6a1e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/OpenEXRSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ if(NOT TARGET Blosc2::blosc2_static AND NOT Blosc2_FOUND)

get_target_property(blosc2libdir Blosc2::blosc2_static BINARY_DIR)
set(BLOSC2_LIB_DIR ${blosc2libdir})

if(OPENEXR_RUN_FUZZ_TESTS)
target_compile_options(blosc2_static PUBLIC "-gdwarf-4")
endif()
endif()
else()
message(STATUS "Blosc2: Using installed Blosc2 ${Blosc2_VERSION} from ${Blosc2_DIR}")
Expand Down

0 comments on commit cb6a1e0

Please sign in to comment.