This repository was archived by the owner on Jun 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,11 @@ set(CMAKE_CXX_FLAGS_RELEASE -Ofast)
1010set (CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -O3 -Wall" )
1111set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -Wall" )
1212
13- set (SDK_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../sdk/infinite_sense_core/x86)
13+ if (CMAKE_SYSTEM_PROCESSOR MATCHES "arm" OR CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" )
14+ set (SDK_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../sdk/infinite_sense_core/arm)
15+ else (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "amd64" )
16+ set (SDK_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../sdk/infinite_sense_core/x86)
17+ endif ()
1418
1519find_package (catkin QUIET )
1620
Original file line number Diff line number Diff line change 99
1010set (CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -O3 -Wall" )
1111set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -Wall" )
12- set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake CACHE INTERNAL "" FORCE )
1312
13+ set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake CACHE INTERNAL "" FORCE )
1414if (CMAKE_SYSTEM_PROCESSOR MATCHES "arm" OR CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" )
1515 set (SDK_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../sdk/infinite_sense_core/arm)
1616else (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "amd64" )
You can’t perform that action at this time.
0 commit comments