From 6980818337bb562cf89f4c2e72fa5918a461d428 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 14 Feb 2019 22:19:36 +0100 Subject: [PATCH] Install flatc as requested (#5180) If FLATBUFFERS_BUILD_FLATC and FLATBUFFERS_INSTALL are set, flatc should be installed regardless of the configuration. --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a27da3fb7..4211e58b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -393,7 +393,6 @@ if(FLATBUFFERS_INSTALL) install( TARGETS flatc EXPORT FlatcTargets RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - CONFIGURATIONS Release ) install( @@ -401,7 +400,6 @@ if(FLATBUFFERS_INSTALL) FILE FlatcTargets.cmake NAMESPACE flatbuffers:: DESTINATION ${FB_CMAKE_DIR} - CONFIGURATIONS Release ) endif()