Supported cmake 3.8 (#7801)

This commit is contained in:
Ilya Lavrenov
2023-01-30 11:00:57 +04:00
committed by GitHub
parent a105c26eca
commit ca71fdfb9a
5 changed files with 23 additions and 833 deletions

View File

@@ -15,7 +15,7 @@ if (UNIX)
set(CPACK_RPM_PACKAGE_NAME "flatbuffers")
# Assume this is not a cross complation build.
# Assume this is not a cross compilation build.
if(NOT CPACK_RPM_PACKAGE_ARCHITECTURE)
set(CPACK_RPM_PACKAGE_ARCHITECTURE "${CMAKE_SYSTEM_PROCESSOR}")
endif(NOT CPACK_RPM_PACKAGE_ARCHITECTURE)