Skip to content

Commit

Permalink
Cleanup cmake files
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Oct 18, 2024
1 parent 2a2c165 commit 9ae1e5e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libfuzzer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@ set(UBPF_FUZZER_LIBS
ubpf_settings
ebpfverifier)

# include(CheckCXXSymbolExists)

set(CMAKE_REQUIRED_INCLUDES ${UBPF_FUZZER_INCLUDES})

# check_cxx_symbol_exists(ebpf_verifier_options_t::store_pre_invariants "config.hpp" HAVE_EBPF_CHECK_CONSTRAINTS_AT_LABEL)

include(CheckCXXSourceCompiles)

# Check if the ebpf verifier supports checking constraints at labels.
set(CHECK_CONFIG_STORE_PRE_INVARIANTS "
#include <config.hpp>
int main() {
Expand Down

0 comments on commit 9ae1e5e

Please sign in to comment.