Skip to content

Commit

Permalink
cmake, add check on FUZZ_LDFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
dacav committed Dec 6, 2024
1 parent 79e43f3 commit 6b739d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fuzz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ set(FUZZ_LINKER_LANGUAGE "C" CACHE STRING "Linker language for fuzz harnesses")
mark_as_advanced(FUZZ_LINKER_LANGUAGE)
enable_language(${FUZZ_LINKER_LANGUAGE})

if(NOT DEFINED FUZZ_LDFLAGS)
message(FATAL_ERROR "Please define FUZZ_LDFLAGS")
endif()

# fuzz_cred
add_executable(fuzz_cred fuzz_cred.c ${COMMON_SOURCES} ${COMPAT_SOURCES})
set_target_properties(fuzz_cred PROPERTIES
Expand Down

0 comments on commit 6b739d4

Please sign in to comment.