File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- add_library (fuzzer_config INTERFACE )
1+ add_library (config INTERFACE )
22
33target_compile_options (
4- fuzzer_config
4+ config
55 INTERFACE
66 $<$<NOT :$<BOOL :${OSS_FUZZ} >>:
77 -fsanitize=fuzzer
@@ -16,7 +16,7 @@ target_compile_options(
1616# Some references are defined in `libc++` and used by Centipede,
1717# so -lc++ needs to come after centipede's lib.
1818target_link_libraries (
19- fuzzer_config
19+ config
2020 INTERFACE
2121 $<$<NOT :$<BOOL :${OSS_FUZZ} >>:
2222 -fsanitize=fuzzer
@@ -77,7 +77,7 @@ function(create_test)
7777 get_filename_component (test_name ${FUZZ_FILENAME} NAME_WE )
7878 add_executable (${test_name} ${FUZZ_SOURCES} )
7979
80- target_link_libraries (${test_name} PUBLIC fuzzer_config ${FUZZ_LIBRARIES} ${LUA_LIBRARIES} ${LDFLAGS} )
80+ target_link_libraries (${test_name} PUBLIC config ${FUZZ_LIBRARIES} ${LUA_LIBRARIES} ${LDFLAGS} )
8181 target_include_directories (${test_name} PRIVATE ${LUA_INCLUDE_DIR} )
8282 target_compile_options (${test_name} PRIVATE -Wall -Wextra -Wpedantic -Wno-unused-parameter -g)
8383 add_dependencies (${test_name} ${LUA_LIBRARIES} )
You can’t perform that action at this time.
0 commit comments