From 81e17011bcae03cd037329c7876ed467975075b2 Mon Sep 17 00:00:00 2001 From: Philippe Leprince Date: Tue, 23 Apr 2024 16:19:14 +0200 Subject: [PATCH] build(fuzz): build fuzz with dwarf-4. (test) Signed-off-by: Philippe Leprince --- src/test/OpenEXRFuzzTest/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/OpenEXRFuzzTest/CMakeLists.txt b/src/test/OpenEXRFuzzTest/CMakeLists.txt index e787b8a042..a46af33bda 100644 --- a/src/test/OpenEXRFuzzTest/CMakeLists.txt +++ b/src/test/OpenEXRFuzzTest/CMakeLists.txt @@ -17,6 +17,7 @@ if(OPENEXR_RUN_FUZZ_TESTS) testFuzzTiles.h ) target_include_directories(OpenEXRFuzzTest PRIVATE ../OpenEXRTest) + target_compile_options(OpenEXRFuzzTest PRIVATE "-gdwarf-4") target_link_libraries(OpenEXRFuzzTest OpenEXR::OpenEXR blosc2_static ${CMAKE_DL_LIBS}) set_target_properties(OpenEXRFuzzTest PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"