forked from BigfootDev/flatbuffers
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(
|
||||
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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user