@@ -39,15 +39,15 @@ set(flatbuffers_URL https://github.com/google/flatbuffers.git)
3939set (flatbuffers_TAG v25.2.10)
4040
4141if (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)
4444endif ()
4545
4646if (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 )
5252else ()
5353 find_package (absl QUIET )
@@ -58,18 +58,18 @@ endif()
5858
5959if (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 )
6565else ()
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
7979if (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 )
8585else ()
8686 find_package (GTest REQUIRED)
8787endif ()
8888
8989FetchContent_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
9595if (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()
107107if (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