summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2019-08-26 14:33:38 -0700
committerWouter van Oortmerssen <aardappel@gmail.com>2019-08-26 14:33:38 -0700
commit65b67d2132336314014e1b6f3ca69b8cc4b450b7 (patch)
tree710febcf0882c08de5af1d953e5715f1633c1454 /CMakeLists.txt
parent1fbb711324720ffe43f972450f16aeb9f0b27beb (diff)
downloadflatbuffers-65b67d2132336314014e1b6f3ca69b8cc4b450b7.tar.gz
flatbuffers-65b67d2132336314014e1b6f3ca69b8cc4b450b7.tar.bz2
flatbuffers-65b67d2132336314014e1b6f3ca69b8cc4b450b7.zip
Fixed test build invocation of arrays_test.fbs
Change-Id: Idfc8d9cfbdefda44f803a6232700842ee6b6bffd
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7da75f41..bda80e7e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -341,7 +341,7 @@ endfunction()
if(FLATBUFFERS_BUILD_TESTS)
compile_flatbuffers_schema_to_cpp(tests/monster_test.fbs)
compile_flatbuffers_schema_to_cpp_opt(tests/native_type_test.fbs "")
- compile_flatbuffers_schema_to_cpp_opt(tests/arrays_test.fbs --scoped-enums)
+ compile_flatbuffers_schema_to_cpp_opt(tests/arrays_test.fbs "--scoped-enums;--gen-compare")
include_directories(${CMAKE_CURRENT_BINARY_DIR}/tests)
add_executable(flattests ${FlatBuffers_Tests_SRCS})
set_property(TARGET flattests