Commit 37f6f483 authored by ChenKun's avatar ChenKun 🕺🏿

modify install cmake; xishan src use dev_xishan1 branch

parent 2dfcaa2a
cmake_minimum_required(VERSION 3.0.2)
project(jfx_traffic_events)
set(USING_THIRD_MAP OFF)
set(USING_THIRD_MAP ON)
set(CMAKE_CXX_FLAGS "-std=c++11")
......@@ -130,4 +130,19 @@ install(DIRECTORY
launch
thirdparty_map/maps
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
\ No newline at end of file
)
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64")
set(ODR_MANAGER_LIB ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty_map/src/SDK/x86/lib/libOdrManager.so)
elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
set(ODR_MANAGER_LIB ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty_map/src/SDK/arm/lib/arm64/libOdrManager.so)
else()
message(FATAL_ERROR "${PROJECT_NAME}-->system processor does not support")
endif()
message(STATUS ${CMAKE_CURRENT_SOURCE_DIR}/lib/)
install(
FILES ${ODR_MANAGER_LIB}
DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
)
src @ 2e34eb64
Subproject commit a40af80b706beddea95edd99ff82ccc615b35bf9
Subproject commit 2e34eb641fb4f72cca2d0911e45725c83e37c6a0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment