From 7a99b3c7cb447ed1a5eec286bd8c2796033a7b35 Mon Sep 17 00:00:00 2001 From: Daniel Nachbaur Date: Tue, 15 Jul 2014 15:09:36 +0200 Subject: [PATCH] Add install step Change-Id: Ie863ddcf73653d1404a1e84109ebdf66af5dff26 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fc0363a..f50c491 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,6 +71,9 @@ add_executable(flattests ${FlatBuffers_Tests_SRCS}) add_executable(flatsamplebinary ${FlatBuffers_Sample_Binary_SRCS}) add_executable(flatsampletext ${FlatBuffers_Sample_Text_SRCS}) +install(DIRECTORY include/flatbuffers DESTINATION include) +install(TARGETS flatc DESTINATION bin) + add_test(NAME flattest CONFIGURATIONS Debug WORKING_DIRECTORY tests -- 2.7.4