Skip to content

Commit 106ea51

Browse files
committed
cmake: rename fuzzer_config
1 parent 4a4a507 commit 106ea51

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/capi/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
add_library(fuzzer_config INTERFACE)
1+
add_library(config INTERFACE)
22

33
target_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.
1818
target_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})

0 commit comments

Comments
 (0)