Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
imu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
mobile_robotics
wolf_projects
wolf_lib
plugins
imu
Commits
073a7a9d
Commit
073a7a9d
authored
6 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Made YamlCpp mandatory.
parent
faf680dd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!39
release after RAL
,
!38
After 2nd RAL submission
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+9
-7
9 additions, 7 deletions
CMakeLists.txt
with
9 additions
and
7 deletions
CMakeLists.txt
+
9
−
7
View file @
073a7a9d
...
@@ -98,19 +98,20 @@ FIND_PACKAGE(Threads REQUIRED)
...
@@ -98,19 +98,20 @@ FIND_PACKAGE(Threads REQUIRED)
FIND_PACKAGE
(
wolf REQUIRED
)
FIND_PACKAGE
(
wolf REQUIRED
)
FIND_PACKAGE
(
YamlCpp REQUIRED
)
FIND_PACKAGE
(
Ceres QUIET
)
#Ceres is not required
IF
(
Ceres_FOUND
)
MESSAGE
(
"Ceres Library FOUND: Ceres related sources will be built."
)
ENDIF
(
Ceres_FOUND
)
INCLUDE
(
${
PROJECT_SOURCE_DIR
}
/cmake_modules/FindYamlCpp.cmake
)
IF
(
YAMLCPP_FOUND
)
IF
(
YAMLCPP_FOUND
)
MESSAGE
(
"yaml-cpp Library FOUND: yaml-cpp related sources will be built."
)
MESSAGE
(
"yaml-cpp Library FOUND: yaml-cpp related sources will be built."
)
ELSEIF
(
YAMLCPP_FOUND
)
ELSEIF
(
YAMLCPP_FOUND
)
MESSAGE
(
"yaml-cpp Library NOT FOUND!"
)
MESSAGE
(
"yaml-cpp Library NOT FOUND!"
)
ENDIF
(
YAMLCPP_FOUND
)
ENDIF
(
YAMLCPP_FOUND
)
FIND_PACKAGE
(
Ceres QUIET
)
#Ceres is not required
IF
(
Ceres_FOUND
)
MESSAGE
(
"Ceres Library FOUND: Ceres related sources will be built."
)
ENDIF
(
Ceres_FOUND
)
FIND_PATH
(
FIND_PATH
(
Suitesparse_INCLUDE_DIRS
Suitesparse_INCLUDE_DIRS
NAMES SuiteSparse_config.h
NAMES SuiteSparse_config.h
...
@@ -146,7 +147,8 @@ include_directories("${PROJECT_BINARY_DIR}/conf")
...
@@ -146,7 +147,8 @@ include_directories("${PROJECT_BINARY_DIR}/conf")
# ============EXAMPLE==================
# ============EXAMPLE==================
INCLUDE_DIRECTORIES
(
${
EIGEN_INCLUDE_DIRS
}
)
INCLUDE_DIRECTORIES
(
${
EIGEN_INCLUDE_DIRS
}
)
INCLUDE_DIRECTORIES
(
${
wolf_INCLUDE_DIRS
}
)
INCLUDE_DIRECTORIES
(
${
wolf_INCLUDE_DIRS
}
)
include_directories
(
BEFORE
"include"
)
INCLUDE_DIRECTORIES
(
BEFORE
"include"
)
INCLUDE_DIRECTORIES
(
${
YAMLCPP_INCLUDE_DIR
}
)
IF
(
Ceres_FOUND
)
IF
(
Ceres_FOUND
)
INCLUDE_DIRECTORIES
(
${
CERES_INCLUDE_DIRS
}
)
INCLUDE_DIRECTORIES
(
${
CERES_INCLUDE_DIRS
}
)
ENDIF
(
Ceres_FOUND
)
ENDIF
(
Ceres_FOUND
)
...
...
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