Skip to content

Commit

Permalink
make sure flatcc-native builds for proper arch
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Feb 6, 2025
1 parent 177e8cf commit 27cde35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fbs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ ExternalProject_Add(flatcc-native
URL_HASH SHA512=46ba5ca75facc7d3360dba797d24ae7bfe539a854a48831e1c7b96528cf9594d8bea22b267678fd7c6d742b6636d9e52930987119b4c6b2e38d4abe89b990cae
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
CMAKE_ARGS
-DCMAKE_C_COMPILER=/usr/bin/cc
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DBUILD_SHARED_LIBS=OFF
-DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/native
-UCMAKE_TOOLCHAIN_FILE
-DFLATCC_TEST=OFF
-DFLATCC_INSTALL=ON
BUILD_BYPRODUCTS ${FLATCC_EXECUTABLE}
Expand Down

0 comments on commit 27cde35

Please sign in to comment.