cavis/cavis-native/cavis-native-lib/CMakeLists.txt.flatbuffers.in

18 lines
525 B
Plaintext
Raw Normal View History

cmake_minimum_required(VERSION 3.6)
2019-06-06 14:21:15 +02:00
project(flatbuffers-download NONE)
include(ExternalProject)
ExternalProject_Add(flatbuffers
GIT_REPOSITORY https://github.com/google/flatbuffers.git
GIT_TAG v1.10.0
GIT_SHALLOW true
2019-06-06 14:21:15 +02:00
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/flatbuffers-src"
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/flatbuffers-build"
CONFIGURE_COMMAND ""
CMAKE_ARGS "-DFLATBUFFERS_BUILD_FLATC=ON "
2019-06-06 14:21:15 +02:00
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
)