Skip to content

Commit e163fdc

Browse files
author
John Doe
committed
formatting x2
1 parent 4ad6ce4 commit e163fdc

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if (FUZZTEST_FUZZING_MODE AND NOT FUZZTEST_COMPATIBILITY_MODE STREQUAL "")
4141
endif ()
4242

4343
if (NOT FUZZTEST_COMPATIBILITY_MODE STREQUAL "" AND
44-
NOT FUZZTEST_COMPATIBILITY_MODE STREQUAL "libfuzzer")
44+
NOT FUZZTEST_COMPATIBILITY_MODE STREQUAL "libfuzzer")
4545
message (FATAL_ERROR "Compatibility mode is only supported for libfuzzer")
4646
endif ()
4747

@@ -74,4 +74,4 @@ if (FUZZTEST_BUILD_TESTING)
7474
add_subdirectory(domain_tests)
7575
add_subdirectory(e2e_tests)
7676
add_subdirectory(e2e_tests/testdata)
77-
endif ()
77+
endif ()

cmake/BuildDependencies.cmake

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ set(flatbuffers_URL https://github.com/google/flatbuffers.git)
3939
set(flatbuffers_TAG v25.2.10)
4040

4141
if(POLICY CMP0135)
42-
cmake_policy(SET CMP0135 NEW)
43-
set(CMAKE_POLICY_DEFAULT_CMP0135 NEW)
42+
cmake_policy(SET CMP0135 NEW)
43+
set(CMAKE_POLICY_DEFAULT_CMP0135 NEW)
4444
endif()
4545

4646
if(FUZZTEST_DOWNLOAD_DEPENDENCIES)
4747
FetchContent_Declare(
48-
abseil-cpp
49-
GIT_REPOSITORY ${absl_URL}
50-
GIT_TAG ${absl_TAG}
48+
abseil-cpp
49+
GIT_REPOSITORY ${absl_URL}
50+
GIT_TAG ${absl_TAG}
5151
)
5252
else()
5353
find_package(absl QUIET)
@@ -58,18 +58,18 @@ endif()
5858

5959
if(FUZZTEST_DOWNLOAD_DEPENDENCIES)
6060
FetchContent_Declare(
61-
re2
62-
GIT_REPOSITORY ${re2_URL}
63-
GIT_TAG ${re2_TAG}
61+
re2
62+
GIT_REPOSITORY ${re2_URL}
63+
GIT_TAG ${re2_TAG}
6464
)
6565
else()
6666
if(DEFINED RE2_SOURCE_DIR)
6767
message(STATUS "FUZZTEST_DOWNLOAD_DEPENDENCIES=OFF: using local re2 source at ${RE2_SOURCE_DIR}")
6868
FetchContent_Declare(
69-
re2
70-
SOURCE_DIR ${RE2_SOURCE_DIR}
71-
GIT_REPOSITORY ${re2_URL}
72-
GIT_TAG ${re2_TAG}
69+
re2
70+
SOURCE_DIR ${RE2_SOURCE_DIR}
71+
GIT_REPOSITORY ${re2_URL}
72+
GIT_TAG ${re2_TAG}
7373
)
7474
else()
7575
message(FATAL_ERROR "FUZZTEST_DOWNLOAD_DEPENDENCIES=OFF but RE2_SOURCE_DIR is not set.\n")
@@ -78,26 +78,26 @@ endif()
7878

7979
if(FUZZTEST_DOWNLOAD_DEPENDENCIES)
8080
FetchContent_Declare(
81-
googletest
82-
GIT_REPOSITORY ${gtest_URL}
83-
GIT_TAG ${gtest_TAG}
81+
googletest
82+
GIT_REPOSITORY ${gtest_URL}
83+
GIT_TAG ${gtest_TAG}
8484
)
8585
else()
8686
find_package(GTest REQUIRED)
8787
endif()
8888

8989
FetchContent_Declare(
90-
antlr_cpp
91-
URL ${antlr_cpp_URL}
92-
URL_HASH MD5=${antlr_cpp_MD5}
90+
antlr_cpp
91+
URL ${antlr_cpp_URL}
92+
URL_HASH MD5=${antlr_cpp_MD5}
9393
)
9494

9595
if (FUZZTEST_BUILD_FLATBUFFERS)
9696
if(FUZZTEST_DOWNLOAD_DEPENDENCIES)
9797
FetchContent_Declare(
98-
flatbuffers
99-
GIT_REPOSITORY ${flatbuffers_URL}
100-
GIT_TAG ${flatbuffers_TAG}
98+
flatbuffers
99+
GIT_REPOSITORY ${flatbuffers_URL}
100+
GIT_TAG ${flatbuffers_TAG}
101101
)
102102
else()
103103
find_package(flatbuffers REQUIRED)
@@ -107,15 +107,15 @@ endif()
107107
if (FUZZTEST_BUILD_TESTING)
108108
if(FUZZTEST_DOWNLOAD_DEPENDENCIES)
109109
FetchContent_Declare(
110-
protobuf
111-
GIT_REPOSITORY ${proto_URL}
112-
GIT_TAG ${proto_TAG}
110+
protobuf
111+
GIT_REPOSITORY ${proto_URL}
112+
GIT_TAG ${proto_TAG}
113113
)
114114

115115
FetchContent_Declare(
116-
nlohmann_json
117-
GIT_REPOSITORY ${nlohmann_json_URL}
118-
GIT_TAG ${nlohmann_json_TAG}
116+
nlohmann_json
117+
GIT_REPOSITORY ${nlohmann_json_URL}
118+
GIT_TAG ${nlohmann_json_TAG}
119119
)
120120
else()
121121
find_package(Protobuf REQUIRED)

0 commit comments

Comments
 (0)