Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
simulation_util
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
CeTI
ROS
ROS Packages
simulation_util
Commits
ecc8e6e0
Commit
ecc8e6e0
authored
4 years ago
by
Johannes Mey
Browse files
Options
Downloads
Patches
Plain Diff
use correct import of SDF library
parent
9a4153ba
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
+8
-3
8 additions, 3 deletions
CMakeLists.txt
with
8 additions
and
3 deletions
CMakeLists.txt
+
8
−
3
View file @
ecc8e6e0
...
@@ -14,7 +14,8 @@ find_package(catkin REQUIRED COMPONENTS
...
@@ -14,7 +14,8 @@ find_package(catkin REQUIRED COMPONENTS
## System dependencies are found with CMake's conventions
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
# find_package(Boost REQUIRED COMPONENTS system)
find_package
(
SDFormat
)
message
(
"ERROR"
"
${
CMAKE_MODULE_PATH
}
"
)
find_package
(
sdformat9 CONFIG REQUIRED
)
# this is the last resort if the package cannot be found otherwise
# this is the last resort if the package cannot be found otherwise
#find_package(PkgConfig REQUIRED)
#find_package(PkgConfig REQUIRED)
...
@@ -105,6 +106,11 @@ find_package(SDFormat)
...
@@ -105,6 +106,11 @@ find_package(SDFormat)
## LIBRARIES: libraries you create in this project that dependent projects also need
## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
get_cmake_property
(
_variableNames VARIABLES
)
list
(
SORT _variableNames
)
foreach
(
_variableName
${
_variableNames
}
)
message
(
STATUS
"
${
_variableName
}
=
${${
_variableName
}}
"
)
endforeach
()
catkin_package
(
catkin_package
(
INCLUDE_DIRS include
INCLUDE_DIRS include
LIBRARIES gazebo_zone_utility
LIBRARIES gazebo_zone_utility
...
@@ -120,8 +126,7 @@ catkin_package(
...
@@ -120,8 +126,7 @@ catkin_package(
## Your package locations should be listed before other locations
## Your package locations should be listed before other locations
include_directories
(
include_directories
(
include
include
/usr/include/sdformat-9.2
${
SDFormat_INCLUDE_DIRS
}
/usr/include/ignition/math6
${
catkin_INCLUDE_DIRS
}
${
catkin_INCLUDE_DIRS
}
)
)
...
...
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