Add support for RK3576 platform and restructure vendor packages directory
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
project(eigen3_vendor)
|
||||
|
||||
set(eigen3_vendor_MAJOR_VERSION 0)
|
||||
set(eigen3_vendor_MINOR_VERSION 0)
|
||||
set(eigen3_vendor_PATCH_VERSION 0)
|
||||
set(eigen3_vendor_VERSION
|
||||
${eigen3_vendor_MAJOR_VERSION}.${eigen3_vendor_MINOR_VERSION}.${eigen3_vendor_PATCH_VERSION})
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
add_compile_options(-Wall -Wextra -Wpedantic)
|
||||
endif()
|
||||
|
||||
# uncomment the following section in order to fill in
|
||||
# further dependencies manually.
|
||||
# find_package(<dependency> REQUIRED)
|
||||
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
eigen3
|
||||
URL https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz
|
||||
# SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/ext/
|
||||
)
|
||||
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
set(BUILD_TESTING OFF)
|
||||
|
||||
FetchContent_MakeAvailable(eigen3)
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
|
||||
<package format="3">
|
||||
<name>eigen3_vendor</name>
|
||||
<version>0.0.0</version>
|
||||
<description>TODO: Package description</description>
|
||||
<maintainer email="ericzhao0325@163.com">ericx</maintainer>
|
||||
<license>TODO: License declaration</license>
|
||||
|
||||
<export>
|
||||
<build_type>cmake</build_type>
|
||||
</export>
|
||||
</package>
|
||||
Reference in New Issue
Block a user