Skip to content

Commit

Permalink
use compiled flatbuffers compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
LnnrtS committed Oct 12, 2023
1 parent 6bec918 commit 3da6f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ target_include_directories(

# Compile flat buffer definitions to cpp headers
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${FWDIR}/lib/flatbuffers/CMake)
set(FLATBUFFERS_FLATC_EXECUTABLE flatc)
set(FLATBUFFERS_FLATC_EXECUTABLE ${FWDIR}/lib/flatbuffers/build/flatc)
include(BuildFlatBuffers)
build_flatbuffers("${CMAKE_CURRENT_LIST_DIR}/wifi/flat/all.fbs" "" flatbuffer_messages_utils "" ${CMAKE_CURRENT_BINARY_DIR}/flat "" "")

Expand Down

0 comments on commit 3da6f4a

Please sign in to comment.