18 lines
525 B
Plaintext
18 lines
525 B
Plaintext
cmake_minimum_required(VERSION 3.6)
|
|
|
|
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
|
|
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/flatbuffers-src"
|
|
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/flatbuffers-build"
|
|
CONFIGURE_COMMAND ""
|
|
CMAKE_ARGS "-DFLATBUFFERS_BUILD_FLATC=ON "
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND ""
|
|
TEST_COMMAND ""
|
|
)
|