[C++] Remove --gen-compare from default parameters for flatc in CMakeLists

This commit is contained in:
Alexey Geraskin
2019-07-19 17:11:03 +03:00
parent 5eb4d5df65
commit 7f275324c1

View File

@@ -315,7 +315,7 @@ function(compile_flatbuffers_schema_to_cpp_opt SRC_FBS OPT)
add_custom_command(
OUTPUT ${GEN_HEADER}
COMMAND "${FLATBUFFERS_FLATC_EXECUTABLE}" -c --gen-mutable
--gen-object-api --gen-compare -o "${SRC_FBS_DIR}"
--gen-object-api -o "${SRC_FBS_DIR}"
--cpp-ptr-type flatbuffers::unique_ptr # Used to test with C++98 STLs
--reflect-names ${OPT}
-I "${CMAKE_CURRENT_SOURCE_DIR}/tests/include_test"