mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-26 21:52:18 +00:00
Install flatc as requested (#5180)
If FLATBUFFERS_BUILD_FLATC and FLATBUFFERS_INSTALL are set, flatc should be installed regardless of the configuration.
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
224f7527e3
commit
6980818337
@@ -393,7 +393,6 @@ if(FLATBUFFERS_INSTALL)
|
|||||||
install(
|
install(
|
||||||
TARGETS flatc EXPORT FlatcTargets
|
TARGETS flatc EXPORT FlatcTargets
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
CONFIGURATIONS Release
|
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
@@ -401,7 +400,6 @@ if(FLATBUFFERS_INSTALL)
|
|||||||
FILE FlatcTargets.cmake
|
FILE FlatcTargets.cmake
|
||||||
NAMESPACE flatbuffers::
|
NAMESPACE flatbuffers::
|
||||||
DESTINATION ${FB_CMAKE_DIR}
|
DESTINATION ${FB_CMAKE_DIR}
|
||||||
CONFIGURATIONS Release
|
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user