mirror of
https://github.com/micro-ROS/micro-ROS-Agent.git
synced 2026-09-06 09:55:15 +02:00
* Fix 'microxrcedds_agent' name and dependency
* Set tag of 'microxrcedds_agent'
---------
(cherry picked from commit 5e42d6ab6f)
Signed-off-by: David Laseca Perez <davidlaseca@eprosima.com>
Co-authored-by: David Laseca Perez <davidlaseca@eprosima.com>
This commit is contained in:
co-authored by
David Laseca Perez
parent
92c512dfad
commit
d2d97bc4a6
@@ -19,14 +19,14 @@ unset(_deps)
|
||||
enable_language(C)
|
||||
enable_language(CXX)
|
||||
|
||||
unset(xrceagent_DIR CACHE)
|
||||
find_package(xrceagent 3 EXACT QUIET)
|
||||
if(NOT xrceagent_FOUND)
|
||||
ExternalProject_Add(xrceagent
|
||||
unset(microxrcedds_agent_DIR CACHE)
|
||||
find_package(microxrcedds_agent 3.0.2 QUIET)
|
||||
if(NOT microxrcedds_agent_FOUND)
|
||||
ExternalProject_Add(microxrcedds_agent
|
||||
GIT_REPOSITORY
|
||||
https://github.com/eProsima/Micro-XRCE-DDS-Agent.git
|
||||
GIT_TAG
|
||||
v3.0.1
|
||||
v3.0.2
|
||||
PREFIX
|
||||
${PROJECT_BINARY_DIR}/agent
|
||||
INSTALL_DIR
|
||||
@@ -51,6 +51,7 @@ if(NOT xrceagent_FOUND)
|
||||
-DUAGENT_BUILD_EXECUTABLE:BOOL=OFF
|
||||
-DUAGENT_ISOLATED_INSTALL:BOOL=OFF
|
||||
)
|
||||
list(APPEND _deps microxrcedds_agent)
|
||||
endif()
|
||||
|
||||
# Main project.
|
||||
@@ -64,5 +65,5 @@ ExternalProject_Add(micro_ros_agent
|
||||
INSTALL_COMMAND
|
||||
""
|
||||
DEPENDS
|
||||
xrceagent
|
||||
${_deps}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user