Skip to content

Commit 941d46c

Browse files
committed
Revert "cmake: rename fuzzer_config"
This reverts commit 7878c8b968c8891005b68360991e6c2ad6fa762d.
1 parent 106ea51 commit 941d46c

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(config INTERFACE)
1+
add_library(fuzzer_config INTERFACE)
22

33
target_compile_options(
4-
config
4+
fuzzer_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-
config
19+
fuzzer_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 config ${FUZZ_LIBRARIES} ${LUA_LIBRARIES} ${LDFLAGS})
80+
target_link_libraries(${test_name} PUBLIC fuzzer_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)