Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic_graph_bridge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
dynamic_graph_bridge
Commits
1b4c6342
Commit
1b4c6342
authored
2 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
CMake: fix python detection for eigenpy 2.7.12
parent
44637127
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+11
-14
11 additions, 14 deletions
CMakeLists.txt
with
11 additions
and
14 deletions
CMakeLists.txt
+
11
−
14
View file @
1b4c6342
...
@@ -24,7 +24,6 @@ SET(CATKIN_ENABLE_TESTING OFF)
...
@@ -24,7 +24,6 @@ SET(CATKIN_ENABLE_TESTING OFF)
# JRL-cmakemodule setup
# JRL-cmakemodule setup
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/boost.cmake
)
INCLUDE
(
cmake/boost.cmake
)
INCLUDE
(
cmake/python.cmake
)
INCLUDE
(
cmake/ros.cmake
)
INCLUDE
(
cmake/ros.cmake
)
# Project definition
# Project definition
...
@@ -34,27 +33,25 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
...
@@ -34,27 +33,25 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
# Project dependencies
# Project dependencies
SET
(
CATKIN_REQUIRED_COMPONENTS roscpp std_msgs message_generation std_srvs geometry_msgs sensor_msgs tf2_ros
SET
(
CATKIN_REQUIRED_COMPONENTS roscpp std_msgs message_generation std_srvs geometry_msgs sensor_msgs tf2_ros
realtime_tools
)
realtime_tools
)
ADD_PROJECT_DEPENDENCY
(
Boost REQUIRED COMPONENTS program_options
)
ADD_PROJECT_DEPENDENCY
(
dynamic_graph_bridge_msgs 0.3.0 REQUIRED
)
IF
(
BUILD_PYTHON_INTERFACE
)
IF
(
BUILD_PYTHON_INTERFACE
)
FINDPYTHON
()
SEARCH_FOR_BOOST_PYTHON
()
STRING
(
REGEX REPLACE
"-"
"_"
PY_NAME
${
PROJECT_NAME
}
)
ADD_PROJECT_DEPENDENCY
(
dynamic-graph-python 4.0.0 REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
dynamic-graph-python 4.0.0 REQUIRED
)
STRING
(
REGEX REPLACE
"-"
"_"
PY_NAME
${
PROJECT_NAME
}
)
SET
(
CATKIN_REQUIRED_COMPONENTS
${
CATKIN_REQUIRED_COMPONENTS
}
rospy
)
SET
(
CATKIN_REQUIRED_COMPONENTS
${
CATKIN_REQUIRED_COMPONENTS
}
rospy
)
IF
(
Boost_VERSION GREATER 107299 OR Boost_VERSION_MACRO GREATER 107299
)
# Silence a warning about a deprecated use of boost bind by boost >= 1.73
# without dropping support for boost < 1.73
ADD_DEFINITIONS
(
-DBOOST_BIND_GLOBAL_PLACEHOLDERS
)
ENDIF
()
ENDIF
(
BUILD_PYTHON_INTERFACE
)
ENDIF
(
BUILD_PYTHON_INTERFACE
)
find_package
(
catkin REQUIRED COMPONENTS
${
CATKIN_
REQUIRED
_
COMPONENTS
}
)
ADD_PROJECT_DEPENDENCY
(
Boost
REQUIRED
COMPONENTS
program_options
)
ADD_PROJECT_DEPENDENCY
(
dynamic_graph_bridge_msgs 0.3.0 REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
sot-core REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
sot-core REQUIRED
)
IF
(
Boost_VERSION GREATER 107299 OR Boost_VERSION_MACRO GREATER 107299
)
# Silence a warning about a deprecated use of boost bind by boost >= 1.73
# without dropping support for boost < 1.73
ADD_DEFINITIONS
(
-DBOOST_BIND_GLOBAL_PLACEHOLDERS
)
ENDIF
()
find_package
(
catkin REQUIRED COMPONENTS
${
CATKIN_REQUIRED_COMPONENTS
}
)
# Main Library
# Main Library
set
(
${
PROJECT_NAME
}
_HEADERS
set
(
${
PROJECT_NAME
}
_HEADERS
include/
${
PROJECT_NAME
}
/fwd.hh
include/
${
PROJECT_NAME
}
/fwd.hh
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment